Hi
Here's my pipeline:
1. node('pc1') {
2.
3. stage('Checkout') {
4. checkout([$class: 'SubversionSCM',
5. additionalCredentials: [[credentialsId: '<snip>', realm: '']],
6. excludedCommitMessages: '',
7. excludedRegions: '',
8. excludedRevprop: '',
9. excludedUsers: '',
10. filterChangelog: false,
11. ignoreDirPropChanges: false,
12. includedRegions: '',
13. locations: [[credentialsId: '<snip>', depthOption: 'infinity',
ignoreExternalsOption: false, local: '.', remote: '<snip>']],
14. workspaceUpdater: [$class: 'UpdateUpdater']])
15. }
16.
17. sh '''make'''
18.
19. emailext attachLog: true, body: '$DEFAULT_CONTENT', subject:
'$DEFAULT_SUBJECT', to: '<snip>'
20.
21. }
The resulting email has result 'BUILDING'. How should I change the script to
make email-ext report the final result (FAILURE or SUCCESS)?
Best regards
David
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/1ae7445daac54a6fb0fadd0d66c821b7%40EUX13SRV1.EU.NEC.COM.
For more options, visit https://groups.google.com/d/optout.