Trying to get the skip to work
Some checks failed
Gitsokyo/bot-base/pipeline/pr-master There was a failure building this commit

This commit is contained in:
Suwako Moriya 2020-04-26 21:09:55 +02:00
parent 3cd86f728b
commit aa30652a5a
Signed by: SuwakoMmh
GPG Key ID: A27482B806F13CD5

6
Jenkinsfile vendored
View File

@ -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}"]) {