Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Commit

Permalink
Merge pull request #950 from LiskHQ/944-fix-recovery-notification
Browse files Browse the repository at this point in the history
Fix recovery notification - Closes #944
  • Loading branch information
fchavant authored Nov 6, 2017
2 parents 84f6864 + 84f8e2a commit e4c9b86
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ def fail(reason) {
error("${reason}")
}

/* comment out the next line to allow concurrent builds on the same branch */
properties([disableConcurrentBuilds(), pipelineTriggers([])])
node('lisk-nano') {
try {
stage ('Cleanup, Checkout and Start Lisk Core') {
Expand Down Expand Up @@ -154,7 +156,7 @@ node('lisk-nano') {
if (env.CHANGE_BRANCH != null) {
pr_branch = " (${env.CHANGE_BRANCH})"
}
if (currentBuild.result == 'SUCCESS') {
if (currentBuild.result == null || currentBuild.result == 'SUCCESS') {
/* delete all files on success */
deleteDir()
/* notify of success if previous build failed */
Expand Down

0 comments on commit e4c9b86

Please sign in to comment.