Preview
The following workflow actions are available for the Jenkins Connector integration. Each action corresponds to an endpoint of the Jenkins Connector API.
Action
Description
Get Job info
Gets the status of a Jenkins pipeline job
Trigger build
Triggers a new Jenkins pipeline job
To create a file in your Jenkins repository in your workflow
In the Choose action pane, search for Jenkins Connector and select Get job info.
In the Get job info action, select the Connection to your Jenkins environment.
Configure the input fields as needed.
This action queries the specified Jenkins job and returns information about its status.
To trigger a build in Jenkins in your workflow
In the Choose action pane, search for Jenkins Connector and select Trigger build.
In the Trigger build action, select the Connection to your Jenkins environment.
Configure the input fields as needed.
This action will trigger the specified job to run.
If you set Await result to Only trigger build, the workflow will continue immediately.
If you set Await result to Trigger build and await result, the workflow will wait for the pipeline to finish.