Jenkins credentials
You can use these credentials to authenticate the following nodes:
Prerequisites
Create an account on a Jenkins (opens in a new tab) instance.
Supported authentication methods
- API token
Related resources
Jenkins doesn't provide public API documentation; API documentation for each page is available from the user interface in the bottom right. Refer to those detailed pages for more information about the service. Refer to Jenkins Remote Access API (opens in a new tab) for information on the API and API wrappers.
Using API token
To configure this credential, you'll need:
- The Jenkins Username: For the user whom the token belongs to
- A Personal API Token: Generate this from the user's profile details > Configure > Add new token. Refer to these Stack Overflow instructions (opens in a new tab) for more detail.
- The Jenkins Instance URL
Jenkins rebuilt their API token setup in 2018. If you're working with an older Jenkins instance, be sure you're using a non-legacy API token. Refer to Security Hardening: New API token system in Jenkins 2.129+ (opens in a new tab) for more information.