Browse Source

print branchName

pr-readme
Steffen Nitschke 4 years ago
parent
commit
99010a8631
  1. 3
      Jenkinsfile

3
Jenkinsfile

@ -62,7 +62,8 @@ pipeline {
script { script {
if (env.BRANCH_NAME.startsWith('pr-')) {
sh "'${env.BRANCH_NAME}'"
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