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

Fix recovery notification - Closes #944 #950

Merged
merged 2 commits into from
Nov 6, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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