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

Today Walkin 14th-Sept

Hibernate Search - Elasticsearch with JSON manipulation

Spring Elasticsearch Operations