Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In Jenkins is it possible to store the Blueriq Studio username and password credentials as a Secret. With the Credentials Binding Plugin you are able to configure a Secret, such as a username and password and map it to an credentials id. These credentials are then stored on the master Jenkins instance, which are encrypted by the Jenkins instance ID. If you want to know more about configuring credentials in Jenkins read the using credentials page.

Using a Secret inside a Jenkins Pipeline Script

For this example we have created a Secret in Jenkins with the id 'studio-credentials'. In order to use the credentials binding plugin you will need to specify a withCredentials block inside your pipeline script. The plugin will automatically redact every referral to the username and password credentials.

...