From 0cc30573ab9c849fdb433e59704565166ddf7429 Mon Sep 17 00:00:00 2001 From: Steffen Nitschke Date: Sun, 17 Jan 2021 17:34:51 +0100 Subject: [PATCH] fix method call --- Jenkinsfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 86a96b2..af83d96 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -61,7 +61,9 @@ pipeline { success { script { - if ({env.BRANCH_NAME}.startsWith('pr-')) { + #!groovy + + if (env.BRANCH_NAME.startsWith('pr-')) { // git url: "git@gogs.informatik.hs-fulda.de:SteffenN/Multi-Chess.git", // credentialsId: 'jenkins_ssh_key',