Usage
The Jenkins integration can be used in the BuildInfo resource.
A Jenkins integration can be added directly to a step in the integrations
section to access its environment variables.
Once the integration has been created, it provides the format of the callback URL and curl command lines that your Jenkins job must invoke to trigger execution of a pipeline in Pipelines.
Default Environment Variables
When you add this integration directly to a step, a set of environment variables is automatically made available.
Environment variable | Description |
---|---|
int_<integration-name>_url | HTTP endpoint of Jenkins |
int_<integration-name>_hookUsername | Callback Username |
int_<integration-name>_hookPassword | Callback Password |