See last commit
Gitea Scan/plate-tool/pipeline/head There was a failure building this commit Details

This commit is contained in:
Emilia Allison 2024-01-30 20:55:09 -05:00
parent 1f213f47e8
commit 0b82f2b1ab
Signed by: emilia
GPG Key ID: 05D5D1107E5100A1
1 changed files with 2 additions and 8 deletions

10
Jenkinsfile vendored
View File

@ -3,14 +3,8 @@ pipeline {
stages {
stage('Setup') {
if (env.BRANCH_NAME == 'main') {
environment {
OUTPUT_DIR = 'plate-tool'
}
} else {
environment {
OUTPUT_DIR = 'plate-tool-beta'
}
environment {
OUTPUT_DIR = "${env.BRANCH_NAME == "main" ? "plate-tool" : "plate-tool-beta"}"
}
}
stage('Build') {