Jenkins groovy file to read credentials properties from Jenkins application credentials

stages{
.......

stage(){
steps{
withCredentials([usernamePassword(credentialsId:'id',passwordVariable:'pass',usernameVariable:'urd')]){

script{


use ....... ={$id}  {$pass}
...........

}
}
}
}

..........
}

Comments

Popular posts from this blog

I get wrong characters when retreiving the message body of an email using TIdIMAP4.UIDRetrieveTextPeek2()

How to drop the all the 1's in a correlation matrix

Today Walkin 14th-Sept