[17.02.20] Kubernetes deployment settings
This commit is contained in:
parent
693eea4ddb
commit
8cfd4b182a
@ -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()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user