Get the Jenkins API Access Token

If Jenkins allows authenticated users only to trigger builds, use the API Access token of an authenticated user as the user's credentials in the VB Studio webhook.

To use the API Access token in a VB Studio webhook, provide the username and the token of an authenticated user. If you don't want to provide a user's details, create a separate username to trigger builds and assign the user the Overall/Read, Job/Read and Job/Build permissions. Then, use this user's details in the webhook.

  1. Log on to Jenkins using the user's credentials whose API Access Token you want to use in the webhook.
  2. In the upper-right corner, mouse over the user name, click Expand icon and select Configure.
  3. In the API Token section, add a new token or use the legacy token.
    To view the legacy token, click Show Legacy API Token and then copy the token. Keep the legacy token value someplace safe, because you'll need to enter it in the VB Studio webhook.

    To create a token, click Add new token and immediately copy the token value. You won't be able to see the token value later and you'll need to generate another token. Keep the new token value someplace safe because you'll need to enter it in the VB Studio webhook.

  4. Click Save.