refactor: refs #4452 Jenkins file

This commit is contained in:
Guillermo Bonet 2024-12-17 10:39:02 +01:00
parent 80c787b5b4
commit cb22d45c10
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -14,7 +14,7 @@ pipeline {
} }
stage('Build') { stage('Build') {
when { when {
branch 'master' branch 'main'
} }
environment { environment {
CREDENTIALS = credentials('docker-registry') CREDENTIALS = credentials('docker-registry')
@ -29,7 +29,7 @@ pipeline {
} }
stage('Deploy') { stage('Deploy') {
when { when {
branch 'master' branch 'main'
} }
steps { steps {
script { script {