Skip to content

Commit eeb1c24

Browse files
committed
jobs/sync-stream-metadata: report successful build result
The logic for sending the slack message on build failure relies on `currentBuild.result`. Set this variable to `SUCCESS` when completing the job successfully.
1 parent 7428476 commit eeb1c24

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

jobs/sync-stream-metadata.Jenkinsfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ cosaPod(serviceAccount: "jenkins") {
6363
""")
6464
}
6565
}
66+
67+
currentBuild.result = 'SUCCESS'
68+
6669
} catch (e) {
6770
currentBuild.result = 'FAILURE'
6871
throw e

0 commit comments

Comments
 (0)