excuse my bad formatting.... the identation in the file are correct though.
we are using jenkins in a k8s cluster.
${SMTP_PASSWORD} env var is passed via k8s secret.
how we figured it out:
after jenkins loaded up,
trying to send an email said an incorrect password is in use.
took the k8s secret -> decoded -> put in the password section : test email is sent succesfully
abort changes -> went to JCasC and view the credentials for the smtp section -> script console ->
println(hudson.util.Secret.fromString("{JENKINS_PRODUCED_SECRET}").getPlainText()) return's nothing. this command works with another generated secrets though.
hello as the title suggests, it seems like the smtp password is loaded incorrectly. notifiers section
excuse my bad formatting.... the identation in the file are correct though.
how we figured it out: after jenkins loaded up, trying to send an email said an incorrect password is in use. took the k8s secret -> decoded -> put in the password section : test email is sent succesfully
abort changes -> went to JCasC and view the credentials for the smtp section -> script console ->
println(hudson.util.Secret.fromString("{JENKINS_PRODUCED_SECRET}").getPlainText())
return's nothing. this command works with another generated secrets though.