Skip to content

Commit

Permalink
set status
Browse files Browse the repository at this point in the history
  • Loading branch information
shepherdjerred committed Feb 17, 2024
1 parent 681501b commit 6f2529c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,13 @@ pipeline {
stages {
stage('Build') {
steps {
sh 'earthly --sat=lamport --org=sjerred --ci --push +ci'
setBuildStatus("Compiling", "compile", "pending");
try {
sh 'earthly --sat=lamport --org=sjerred --ci --push +ci'
} catch (err) {
setBuildStatus("Failed", "pl-compile", "failure");
}
setBuildStatus("Build complete", "compile", "success");
}
}
}
Expand Down

0 comments on commit 6f2529c

Please sign in to comment.