feat: refs #7442 Jenkinsfile use k8s cluster config
gitea/vn-autoconfig/pipeline/head There was a failure building this commit
Details
gitea/vn-autoconfig/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
49b978cc72
commit
86f0c27ab6
|
@ -31,8 +31,7 @@ pipeline {
|
||||||
env.VERSION = packageJson.version
|
env.VERSION = packageJson.version
|
||||||
}
|
}
|
||||||
withKubeConfig([
|
withKubeConfig([
|
||||||
serverUrl: "$KUBERNETES_API",
|
cluster: 'kubernetes',
|
||||||
credentialsId: 'kubernetes',
|
|
||||||
namespace: 'autoconfig'
|
namespace: 'autoconfig'
|
||||||
]) {
|
]) {
|
||||||
sh 'kubectl set image deployment/autoconfig autoconfig=registry.verdnatura.es/vn-autoconfig:$VERSION'
|
sh 'kubectl set image deployment/autoconfig autoconfig=registry.verdnatura.es/vn-autoconfig:$VERSION'
|
||||||
|
|
Loading…
Reference in New Issue