Revise jenkinsfile, only run on main and beta
Gitea Scan/plate-tool/pipeline/head This commit looks good Details

This commit is contained in:
Emilia Allison 2024-02-13 20:38:45 -05:00
parent ca5c15756e
commit bf09f281b3
Signed by: emilia
GPG Key ID: 05D5D1107E5100A1
1 changed files with 5 additions and 0 deletions

5
Jenkinsfile vendored
View File

@ -4,6 +4,9 @@ pipeline {
OUTPUT_DIR = "${env.BRANCH_NAME == "main" ? "plate-tool" : "plate-tool-beta"}" OUTPUT_DIR = "${env.BRANCH_NAME == "main" ? "plate-tool" : "plate-tool-beta"}"
} }
stages {
stage('Parent') {
when { anyOf { branch 'main'; branch 'beta-release' } }
stages { stages {
stage('Build') { stage('Build') {
steps { steps {
@ -32,6 +35,8 @@ pipeline {
} }
} }
} }
}
}
post { post {
always { always {
cleanWs(notFailBuild: true, cleanWs(notFailBuild: true,