Browse Source

next try of handmade git publisher

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

2
Jenkinsfile

@ -60,6 +60,7 @@ pipeline {
success {
script {
if ((env.BRANCH_NAME).startsWith('pr-')) {
// git url: "git@gogs.informatik.hs-fulda.de:SteffenN/Multi-Chess.git",
@ -70,6 +71,7 @@ pipeline {
sh "git commit -am 'Merged ${env.BRANCH_NAME} branch to master'"
sh "git push origin master"
}
}
office365ConnectorSend color: 'good',
message: "Build ${currentBuild.fullDisplayName} completed *successfully* (<${BUILD_URL}>).\n\n\n${CUSTOM_SCM_INFO}",

Loading…
Cancel
Save