[JIRA] (JENKINS-58346) Add exclude filter multibranch option

2 views
Skip to first unread message

kwirth@perforce.com (JIRA)

unread,
Jul 4, 2019, 10:23:02 AM7/4/19
to jenkinsc...@googlegroups.com
Karl Wirth created an issue
 
Jenkins / Improvement JENKINS-58346
Add exclude filter multibranch option
Issue Type: Improvement Improvement
Assignee: Unassigned
Attachments: image-2019-07-04-15-16-06-142.png
Components: p4-plugin
Created: 2019-07-04 14:22
Environment: P4-Plugin 1.10.1
Labels: P4_VERIFY
Priority: Minor Minor
Reporter: Karl Wirth

Method such as a tickbox to change the behavior of 'Include Filter' against multibranch definition to become an exclude filter.

 

Example Usage Case

Project includes the following branches and want to exclude *-Private from multi-branch definition:

1.2.3-Rel

1.2.3-QA

1.2.3-Dev

1.2.3-Private

1.2.4-Rel

1.2.4-QA

1.2.4-Dev

1.2.4-Private

 

Workarounds at the moment would be:

  • Use Perforce protections to hide *-Private from Jenkins user.
  • Have multiple inclussionary expressions. For example '(.[1-9].*Rel)|(.[1-9].QA)|(.[1-9].*Dev)

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)
Reply all
Reply to author
Forward
0 new messages