summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Vatamaniuc <vatamane@gmail.com>2021-11-23 11:13:42 -0500
committerNick Vatamaniuc <vatamane@gmail.com>2021-11-23 13:21:29 -0500
commitf8a287002d0563c8cae73a2f6323f40bc0fee3b4 (patch)
treeb7e6c77d61804a623f33ba7cc3e525efd55f440e
parentb78ccf18cb4ed6e183ed0bf4e5cbe40d7a7dc493 (diff)
downloadcouchdb-f8a287002d0563c8cae73a2f6323f40bc0fee3b4.tar.gz
Fix Jenkins email quoting failuresjenkins-fix-quoting
Should fix: ``` Warning: A secret was passed to "mail" using Groovy String interpolation, which is insecure. ```
-rw-r--r--build-aux/Jenkinsfile.full40
1 files changed, 20 insertions, 20 deletions
diff --git a/build-aux/Jenkinsfile.full b/build-aux/Jenkinsfile.full
index 9fc131ff7..983198fb1 100644
--- a/build-aux/Jenkinsfile.full
+++ b/build-aux/Jenkinsfile.full
@@ -793,25 +793,25 @@ pipeline {
} // stage
} // stages
- post {
- success {
- mail to: "${env.recipient}",
- replyTo: "${env.recipient}",
- subject: "[Jenkins] SUCCESS: ${currentBuild.fullDisplayName}",
- body: "Yay, we passed. ${env.RUN_DISPLAY_URL}"
- }
- unstable {
- mail to: "${env.recipient}",
- replyTo: "${env.recipient}",
- subject: "[Jenkins] SUCCESS: ${currentBuild.fullDisplayName}",
- body: "Eep! Build is unstable... ${env.RUN_DISPLAY_URL}"
- }
- failure {
- mail to: "${env.recipient}",
- replyTo: "${env.recipient}",
- subject: "[Jenkins] FAILURE: ${currentBuild.fullDisplayName}",
- body: "Boo, we failed. ${env.RUN_DISPLAY_URL}"
- }
- }
+ // post {
+ // success {
+ // mail to: "${env.recipient}",
+ // replyTo: "${env.recipient}",
+ // subject: "[Jenkins] SUCCESS: ${currentBuild.fullDisplayName}",
+ // body: "Yay, we passed. ${env.RUN_DISPLAY_URL}"
+ // }
+ // unstable {
+ // mail to: "${env.recipient}",
+ // replyTo: "${env.recipient}",
+ // subject: "[Jenkins] SUCCESS: ${currentBuild.fullDisplayName}",
+ // body: "Eep! Build is unstable... ${env.RUN_DISPLAY_URL}"
+ // }
+ // failure {
+ // mail to: "${env.recipient}",
+ // replyTo: "${env.recipient}",
+ // subject: "[Jenkins] FAILURE: ${currentBuild.fullDisplayName}",
+ // body: "Boo, we failed. ${env.RUN_DISPLAY_URL}"
+ // }
+ // }
} // pipeline