Skip to content
Permalink
Browse files

Revise CI script to generate changelogs

  • Loading branch information
denikson committed Nov 9, 2019
1 parent bb10041 commit 628628601fdbf6560125a0df457f0e1a49f33959
Showing with 3 additions and 3 deletions.
  1. +3 −3 scripts/jenkins_master.groovy
@@ -13,8 +13,8 @@ pipeline {
stage('Pull Projects') {
steps {
script {
if(fileExists('last_build_commit'))
lastBuildCommit = readFile 'last_build_commit'
if(currentBuild.previousBuild != null && currentBuild.previousBuild.buildVariables.containsKey("LAST_BUILD"))
lastBuildCommit = currentBuild.previousBuild.buildVariables["LAST_BUILD"]
}
// Clean up old project before starting
cleanWs()
@@ -47,7 +47,7 @@ pipeline {
post {
cleanup {
script {
writeFile file: 'last_build_commit', text: lastBuildCommit
env.LAST_BUILD = lastBuildCommit
}
}
success {

0 comments on commit 6286286

Please sign in to comment.
You can’t perform that action at this time.