JenkinsBuildSensor

Jenkins

Monitor a jenkins job and pass when it is finished building. This is regardless of the build outcome. This sensor depend on python-jenkins library,

View on GitHub

Last Updated: Jan. 6, 2023

Access Instructions

Install the Jenkins provider package into your Airflow environment.

Import the module into your DAG file and instantiate it with your desired params.

Parameters

jenkins_connection_idRequiredThe jenkins connection to use for this job
job_nameRequiredThe name of the job to check
build_numberBuild number to check - if None, the latest build will be used

Documentation

Monitor a jenkins job and pass when it is finished building. This is regardless of the build outcome. This sensor depend on python-jenkins library,

Was this page helpful?