environment test
This commit is contained in:
14
Jenkinsfile
vendored
14
Jenkinsfile
vendored
@@ -94,14 +94,12 @@ podTemplate(
|
||||
}
|
||||
|
||||
stage('Deploy Application on K8s') {
|
||||
container('kubectl') {
|
||||
withKubeConfig([
|
||||
credentialsId: 'microk8s-cluster',
|
||||
serverUrl: env.K8s_SERVER_URL,
|
||||
contextName: env.K8s_CONTEXT_NAME,
|
||||
clusterName: env.K8s_CLUSTER_NAME]) {
|
||||
sh 'kubectl config view'
|
||||
}
|
||||
withKubeConfig([
|
||||
credentialsId: 'microk8s-cluster',
|
||||
serverUrl: env.K8s_SERVER_URL,
|
||||
contextName: env.K8s_CONTEXT_NAME,
|
||||
clusterName: env.K8s_CLUSTER_NAME]) {
|
||||
sh 'kubectl config view'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user