See last commit
Gitea Scan/plate-tool/pipeline/head There was a failure building this commit
Details
Gitea Scan/plate-tool/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
1f213f47e8
commit
0b82f2b1ab
|
@ -3,14 +3,8 @@ pipeline {
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
stage('Setup') {
|
stage('Setup') {
|
||||||
if (env.BRANCH_NAME == 'main') {
|
environment {
|
||||||
environment {
|
OUTPUT_DIR = "${env.BRANCH_NAME == "main" ? "plate-tool" : "plate-tool-beta"}"
|
||||||
OUTPUT_DIR = 'plate-tool'
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
environment {
|
|
||||||
OUTPUT_DIR = 'plate-tool-beta'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
|
|
Loading…
Reference in New Issue