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