From aa30652a5a69a76e88304938abd6a1b6e6bfac6e Mon Sep 17 00:00:00 2001 From: Suwako Moriya Date: Sun, 26 Apr 2020 21:09:55 +0200 Subject: [PATCH] Trying to get the skip to work --- Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 1396217..73f7d83 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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}"]) {