From 8cfd4b182a43f2f4e672aabbf980b2d39cec0598 Mon Sep 17 00:00:00 2001 From: andyjk15 Date: Mon, 17 Feb 2020 16:31:37 +0000 Subject: [PATCH] [17.02.20] Kubernetes deployment settings --- configuration/pipelines/build.groovy | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configuration/pipelines/build.groovy b/configuration/pipelines/build.groovy index 00aef9e..adbfcdc 100644 --- a/configuration/pipelines/build.groovy +++ b/configuration/pipelines/build.groovy @@ -83,9 +83,9 @@ try { stage('Deploy') { - withCredentials([kubeconfigFile(credentialsId: 'Kubernetes', variable: 'KUBECONFIG')]) { - sh '''cat $KUBECONFIG''' - } +// withCredentials([kubeconfigFile(credentialsId: 'Kubernetes', variable: 'KUBECONFIG')]) { +// sh '''cat $KUBECONFIG''' +// } // withCredentials( // [kubeconfigContent( @@ -102,7 +102,7 @@ try { secretNamespace: "${env.NAMESPACE}", dockerCredentials: [ - [credentialsId: 'Registry', url: "${env.DOCKER_REPOSITORY}"], + [credentialsId: 'Registry', url: "${env.DOCKER_REPOSITORY_URL}"], ] ) // deploy()