This guide assumes that you have enabled the
artifactsRewritefeature flag. See Prerequisites.
This guide explains how to add a Jenkins trigger to your pipeline.
- Set up Jenkins as a continuous integration system in your Spinnaker deployment.
- Enable the
artifactsRewritefeature flag in Spinnaker. In
default), add the line
window.spinnakerSettings.feature.artifactsRewrite = true;.
Adding a Jenkins trigger
- Create a pipeline.
- In the Configuration stage of your new pipeline, add a trigger.
Select Jenkins from the Type menu, which brings up the following screen:
- Select a Jenkins master from the Master drop-down menu, then select a job from the Job drop-down.
- 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.