environment test
This commit is contained in:
parent
98c1798506
commit
98ab090f23
13
Jenkinsfile
vendored
13
Jenkinsfile
vendored
|
@ -94,11 +94,14 @@ podTemplate(
|
|||
}
|
||||
|
||||
stage('Deploy Application on K8s') {
|
||||
withKubeConfig([
|
||||
credentialsId: 'microk8s-cluster',
|
||||
serverUrl: env.K8s_SERVER_URL,
|
||||
contextName: env.K8s_CONTEXT_NAME,
|
||||
clusterName: env.K8s_CLUSTER_NAME]) {
|
||||
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'
|
||||
// }
|
||||
sh 'kubectl config view'
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user