Pin a Library Source to a Specific Release¶
Breaking changes will sometimes be merged into the default branch of the SDP Libraries repository. Because of this, you may want to pin the Library Source to a specific release so that your pipelines don't break when the library is updated.
Steps¶
- Navigate to your Jenkins dashboard.
- Click on "Manage Jenkins" on the left side panel.
- Click on "Configure System" under the "System Configuration" section.
- Scroll down to the "Jenkins Templating Engine" section of this page.
- Find the Library Source you want to pin to a specific release.
- Update the "Branch Specifier" field using the following format:
refs/tags/{git tag}
(replacing{git tag}
with the tag you want to pin the Library Source to). - Click "Save" to save the changes.