refs #4685 Jenkinsfile deploy branch fix
gitea/mycdc/pipeline/head This commit looks good Details
gitea/mycdc/pipeline/pr-test Build queued... Details

This commit is contained in:
Juan Ferrer 2025-02-26 18:18:32 +01:00
parent 9c3cdd8ccc
commit 893c099ea2
1 changed files with 4 additions and 2 deletions

2
Jenkinsfile vendored
View File

@ -59,9 +59,11 @@ pipeline {
} }
stage('Deploy') { stage('Deploy') {
when { when {
anyOf {
branch 'dev' branch 'dev'
branch 'test' branch 'test'
} }
}
environment { environment {
VERSION = readFile 'VERSION.txt' VERSION = readFile 'VERSION.txt'
} }