Below code works and helps fetch username and password from Jenkins
credentials in a piepeline.
withCredentials([usernamePassword(credentialsId: 'mysql_creds',
passwordVariable: 'sqlpassword', usernameVariable: 'sqlusername')])
{
creds = "\nUsername: ${sqlusername}\nPassword:
I think that cloudbees Jenkins health check can do this.
https://go.cloudbees.com/docs/plugins/cloudbees-jenkins-advisor/
--
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