This commit is contained in:
Hyatt 2024-04-12 07:09:31 -05:00
parent d1c42d5a35
commit 9bc26437f7
Signed by: nhyatt
GPG Key ID: C50D0BBB5BC40BEA

View File

@ -98,8 +98,8 @@ pipeline {
stage ("Send Mail") { stage ("Send Mail") {
steps { steps {
if (bitwardenInstalled != bitwardenLatestServer || bitwardenInstalled != bitwardenLatestWeb) {
script { script {
if (bitwardenInstalled != bitwardenLatestServer || bitwardenInstalled != bitwardenLatestWeb) {
mailBody = """Dear Bitwarden Admin, mailBody = """Dear Bitwarden Admin,
A new version of bitwarden was released: A new version of bitwarden was released:
Server: v${bitwardenLatestServer} Server: v${bitwardenLatestServer}
@ -127,11 +127,11 @@ Docker Containers
subject: '${DEFAULT_SUBJECT}', subject: '${DEFAULT_SUBJECT}',
to: "nhyatt@smoothnet.org", to: "nhyatt@smoothnet.org",
) )
}
} else { } else {
println "Bitwarden is up to date!" println "Bitwarden is up to date!"
} }
} }
} }
} }
}
} }