Browse Source

next try of handmade git publisher

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

4
Jenkinsfile

@ -60,7 +60,8 @@ pipeline {
success {
if ( (env.BRANCH_NAME).startsWith('pr-') ) {
script {
if ((env.BRANCH_NAME).startsWith('pr-')) {
// git url: "git@gogs.informatik.hs-fulda.de:SteffenN/Multi-Chess.git",
// credentialsId: 'jenkins_ssh_key',
@ -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