[JIRA] (JENKINS-59115) When condition for Branch build with comparator

2 views
Skip to first unread message

VictorMartinezRubio@gmail.com (JIRA)

unread,
Aug 28, 2019, 3:05:03 AM8/28/19
to jenkinsc...@googlegroups.com
Victor Martinez created an issue
 
Jenkins / New Feature JENKINS-59115
When condition for Branch build with comparator
Issue Type: New Feature New Feature
Assignee: Victor Martinez
Components: pipeline-model-definition-plugin
Created: 2019-08-28 07:04
Priority: Minor Minor
Reporter: Victor Martinez

https://issues.jenkins-ci.org/browse/JENKINS-48523  added support to the tag when condition with the comparator. 

At the moment, the branch when condition does support GLOB, but no REGEXP patterns. Let's standardize the branch condition format as done with the tag condition.


when {
    branch "release-*"
}
when {
    branch pattern: "release-*", comparator: "GLOB"
} 
when {
    branch pattern: "release-\\d+", comparator: "REGEXP"
} 
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

VictorMartinezRubio@gmail.com (JIRA)

unread,
Nov 19, 2019, 4:10:02 PM11/19/19
to jenkinsc...@googlegroups.com
Victor Martinez resolved as Fixed
Change By: Victor Martinez
Status: Open Resolved
Resolution: Fixed
Released As: 1.4.0
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages