We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72570ce commit 37def22Copy full SHA for 37def22
1 file changed
Jenkinsfile
@@ -92,7 +92,9 @@ private boolean shouldBranchBeDeployed() {
92
}
93
94
private boolean isBuildSuccessful() {
95
- currentBuild.currentResult == 'SUCCESS' && currentBuild.result == 'SUCCESS'
+ currentBuild.currentResult == 'SUCCESS' &&
96
+ // Build result == SUCCESS seems not to set be during pipeline execution.
97
+ (currentBuild.result == null || currentBuild.result == 'SUCCESS')
98
99
100
void initMaven(Maven mvn) {
0 commit comments