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