Skip to content

Commit

Permalink
Include *.cfg in the artifacts and re-run buildout for every build st…
Browse files Browse the repository at this point in the history
…ep to update alltests.
  • Loading branch information
tisto committed Feb 15, 2015
1 parent 1c145d6 commit e179f3f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion flow.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ node {
git branch: '5.0', changelog: true, poll: true, url: 'https://github.com/plone/buildout.coredev.git'
sh "python2.7 bootstrap.py -c jenkins.cfg"
sh "bin/buildout -c jenkins.cfg"
sh "tar -c -f buildout.tar bin parts src"
sh "tar -c -f buildout.tar bin parts src *.cfg"
archive 'buildout.tar'
}

Expand All @@ -36,6 +36,9 @@ parallel(
stage 'Notification'
node {
step([$class: 'Mailer', notifyEveryUnstableBuild: true, recipients: 'tisto@plone.org', sendToIndividuals: true])
mail (to: 'tisto@plone.org',
subject: "Job '${env.JOB_NAME}' (${env.BUILD_NUMBER}) is ready.",
body: "Please go to ${env.BUILD_URL}.");
}


Expand All @@ -46,4 +49,5 @@ def prepareBuildout() {
sh "rm -rf *"
unarchive mapping: ['buildout.tar': '.']
sh "tar -x -f buildout.tar"
sh "bin/buildout -c jenkins.cfg"
}

0 comments on commit e179f3f

Please sign in to comment.