Jenkins Connector Actions

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

Get job info

To create a file in your Jenkins repository in your workflow Workflows

  1. In the Choose action pane, search for Jenkins Connector and select Get job info.

  2. In the Get job info action, select the Connection to your Jenkins environment.

  3. Configure the input fields as needed.

    Field
    Description
    Required
    Job path
    The full path of your Jenkins job
    required

This action queries the specified Jenkins job and returns information about its status.

Trigger build

To trigger a build in Jenkins in your workflow Workflows

  1. In the Choose action pane, search for Jenkins Connector and select Trigger build.

  2. In the Trigger build action, select the Connection to your Jenkins environment.

  3. Configure the input fields as needed.

    Field
    Description
    Required
    Job
    The job that should be triggered.
    required
    Await result
    Pick if you want to just trigger the pipeline, or if you also want to wait for its result.
    required
    Build parameters
    A list of parameters that should be set for this pipeline job.
    optional

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.