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',