Re: emailext and Declarative Pipeline; multiple "to"

2019-02-15 Thread ZillaYT
Here's another function, with multiple "to" def sendApprovalTransitionEmail(deploymentEnv) { emailext body: "This build is now paused and awaiting transition by QA. Click here ${env.BUILD_URL} to approve this builds deployment to $deploymentEnv.", subject: "Build is paused - awaiting QA

Re: emailext and Declarative Pipeline; multiple "to"

2019-02-15 Thread ZillaYT
Here's a sample function we call in our pipeline def processTestFailure() { junit "**/build/test-results/**/*.xml" emailext body: "You broke the build It appears that ${env.BUILD_URL} tests are failing (${currentBuild.result}). Change sets:${changelist()}${testStatuses()}", recipientPro

emailext and Declarative Pipeline; multiple "to"

2019-02-15 Thread Zach LaCelle
For my "build failed" emails, I'd like to send an email from my Jenkins Declarative Pipeline to the developers group but also to a fixed list of recipients. Under the Pipeline documentation ( https://jenkins.io/doc/pipeline/steps/email-ext/), I see a class for "recipients", which states that it inc