Skip to content

Commit 177e111

Browse files
committed
Check current build status
1 parent 60846c6 commit 177e111

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Jenkinsfile-SmokeTest

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ timestamps {
139139
echo "Exception was caught: ${e}"
140140
currentBuild.result = 'FAILURE'
141141
} finally {
142+
echo "Current build result: ${currentBuild.result}"
142143
if (currentBuild.result != 'SUCCESS') {
143144
def color = ['UNSTABLE': 'warning', 'FAILURE': 'danger']
144145
def message = currentBuild.result == 'UNSTABLE' ? "Tests failed" : 'An unexpected error occurred while running tests'

0 commit comments

Comments
 (0)