feat: refs #7442 Jenkinsfile use k8s cluster config
gitea/vn-autoconfig/pipeline/head There was a failure building this commit Details

This commit is contained in:
Juan Ferrer 2024-05-21 21:54:21 +02:00
parent 49b978cc72
commit 86f0c27ab6
1 changed files with 1 additions and 2 deletions

3
Jenkinsfile vendored
View File

@ -31,8 +31,7 @@ pipeline {
env.VERSION = packageJson.version
}
withKubeConfig([
serverUrl: "$KUBERNETES_API",
credentialsId: 'kubernetes',
cluster: 'kubernetes',
namespace: 'autoconfig'
]) {
sh 'kubectl set image deployment/autoconfig autoconfig=registry.verdnatura.es/vn-autoconfig:$VERSION'