[JIRA] (JENKINS-57690) Support more sophisticated versioning

5 views
Skip to first unread message

christopherpiercecooney@gmail.com (JIRA)

unread,
May 26, 2019, 12:29:01 PM5/26/19
to jenkinsc...@googlegroups.com
chris cooney created an issue
 
Jenkins / New Feature JENKINS-57690
Support more sophisticated versioning
Issue Type: New Feature New Feature
Assignee: Unassigned
Components: workflow-cps-global-lib-plugin
Created: 2019-05-26 16:28
Labels: plugins
Priority: Minor Minor
Reporter: chris cooney

At the moment, the `@Library` annotation supports the exact tag from a repository. This is great, but simplistic. As a team who are semantically versioning the shared library and regularly pushing out patch and minor versions, the overhead of expecting teams to constantly update their Jenkinsfiles is a little unfair. We want teams to be able to pin to a major version but be able to accept minor or patch version updates.

For example, the following syntax should be valid: `@Library('library@v0.1.')`. It should find the latest tag matching `v0.1.` and pull in that version.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

christopherpiercecooney@gmail.com (JIRA)

unread,
May 26, 2019, 12:29:02 PM5/26/19
to jenkinsc...@googlegroups.com
chris cooney updated an issue
Change By: chris cooney
At the moment, the ` @Library `
annotation supports the exact tag from a repository. This is great, but simplistic. As a team who are semantically versioning the shared library and regularly pushing out patch and minor versions, the overhead of expecting teams to constantly update their Jenkinsfiles is a little unfair. We want teams to be able to pin to a major version but be able to accept minor or patch version updates.

For example, the following syntax should be valid:
` @Library('library@v0.1. * ') ` . It should find the latest tag matching ` v0.1.* `   and pull in that version.
Reply all
Reply to author
Forward
0 new messages