From ef0fdb5a70b2eb99063aa0a364f22c28fcf50ccb Mon Sep 17 00:00:00 2001 From: Steffen Nitschke Date: Sun, 17 Jan 2021 17:01:44 +0100 Subject: [PATCH] git publisher with, hopfully, correct branchName Variable --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index ffc226c..59c370d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -61,7 +61,7 @@ pipeline { success { script { - if ((env.BRANCH_NAME).startsWith('pr-')) { + if ({env.BRANCH_NAME}.startsWith('pr-')) { // git url: "git@gogs.informatik.hs-fulda.de:SteffenN/Multi-Chess.git", // credentialsId: 'jenkins_ssh_key',