You should use the credtentials,
withCredentials() {
}
Add the credentials to you Jenkins config then use the command above, it will also prevent the print output of the password into the log and change it for *****.
https://www.jenkins.io/doc/pipeline/steps/credentials-binding/
https://www.jenkins.io/doc/book/using/using-credentials/
une compagnie RAPPROCHEZ LA DISTANCE |
|
COVID-19 : we are glad to inform you that Amotus are up and running with limited impact on our performance. We will keep you informed of any changes as they occur.
COVID-19 : nous sommes fiers d’informer nos collaborateurs que Amotus opèrent adéquatement et que l’impact sur notre productivité est minimisé. Nous vous tiendrons au courant de tout changement.
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/f212facd-7252-4722-97ec-e773761a9bf7o%40googlegroups.com.