Browse Source

git publisher with, hopfully, correct branchName Variable

pr-readme
Steffen Nitschke 4 years ago
parent
commit
ef0fdb5a70
  1. 2
      Jenkinsfile

2
Jenkinsfile

@ -61,7 +61,7 @@ pipeline {
success { success {
script { 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", // git url: "git@gogs.informatik.hs-fulda.de:SteffenN/Multi-Chess.git",
// credentialsId: 'jenkins_ssh_key', // credentialsId: 'jenkins_ssh_key',

Loading…
Cancel
Save