Trying to get the skip to work
Some checks failed
Gitsokyo/bot-base/pipeline/pr-master There was a failure building this commit
Some checks failed
Gitsokyo/bot-base/pipeline/pr-master There was a failure building this commit
This commit is contained in:
parent
3cd86f728b
commit
aa30652a5a
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -49,17 +49,17 @@ pipeline {
|
||||
anyOf {
|
||||
branch 'stable'
|
||||
branch 'unstable'
|
||||
tag
|
||||
buildingTag()
|
||||
}
|
||||
}
|
||||
steps {
|
||||
sshagent(credentials: ['1cf72f47-b70c-4f90-a958-020956099d19']) {
|
||||
scipt {
|
||||
SUB_PATH="""${sh(
|
||||
def SUB_PATH = """${sh(
|
||||
returnStdout: true,
|
||||
script: 'echo "${GIT_BRANCH#*/}"'
|
||||
)}""".trim()
|
||||
if (tag) {
|
||||
if (buildingTag()) {
|
||||
SUB_PATH="${env.TAG_NAME}"
|
||||
}
|
||||
withEnv(["SUB_PATH=${SUB_PATH}"]) {
|
||||
|
Loading…
Reference in New Issue
Block a user