Skip to content

Commit

Permalink
jenkins smtp test #5 - send on completion
Browse files Browse the repository at this point in the history
  • Loading branch information
lpm0073 committed Apr 27, 2021
1 parent 3400af6 commit f904775
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ pipeline {

echo 'Cleaning up Jenkins environment...'
// test #4
email_subject = "Jenkins build ${BUILD_ID} for commit ${GIT_COMMIT} of branch ${GIT_BRANCH} in repository ${GIT_URL}"
def email_subject = "Jenkins build ${BUILD_ID} for commit ${GIT_COMMIT} of branch ${GIT_BRANCH} in repository ${GIT_URL}"

emailext body: 'A Test EMail', recipientProviders: [[$class: 'DevelopersRecipientProvider'], [$class: 'RequesterRecipientProvider']], subject: email_subject

Expand Down

0 comments on commit f904775

Please sign in to comment.