[17.02.20] Kubernetes deployment settings

This commit is contained in:
andyjk15 2020-02-17 16:31:37 +00:00
parent 693eea4ddb
commit 8cfd4b182a

View File

@ -83,9 +83,9 @@ try {
stage('Deploy') { stage('Deploy') {
withCredentials([kubeconfigFile(credentialsId: 'Kubernetes', variable: 'KUBECONFIG')]) { // withCredentials([kubeconfigFile(credentialsId: 'Kubernetes', variable: 'KUBECONFIG')]) {
sh '''cat $KUBECONFIG''' // sh '''cat $KUBECONFIG'''
} // }
// withCredentials( // withCredentials(
// [kubeconfigContent( // [kubeconfigContent(
@ -102,7 +102,7 @@ try {
secretNamespace: "${env.NAMESPACE}", secretNamespace: "${env.NAMESPACE}",
dockerCredentials: [ dockerCredentials: [
[credentialsId: 'Registry', url: "${env.DOCKER_REPOSITORY}"], [credentialsId: 'Registry', url: "${env.DOCKER_REPOSITORY_URL}"],
] ]
) )
// deploy() // deploy()