Triggering pipelines with Jenkins

This guide explains how to add a Jenkins trigger to your pipeline.

Prerequisites

  • Set up Jenkins as a continuous integration system in your Spinnaker deployment

Adding a Jenkins trigger

  1. Create a pipeline.
  2. In the Configuration stage of your new pipeline, add a trigger.
  3. Select Jenkins from the Type menu, which brings up the following screen:
  4. Select a Jenkins master from the Master drop-down menu, and a job from the Job drop-down. These will automatically populate if Jenkins is set up correctly.
  5. Add a property file, if desired. See the property files section of the Pipeline Expression Guide for more information about how to specify and use property files.