environment test

This commit is contained in:
crusader 2023-02-02 13:05:59 +00:00
parent b7df21ee40
commit 98c1798506

14
Jenkinsfile vendored
View File

@ -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'
}
}
}