[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') {
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()