[JIRA] (JENKINS-17904) Platform labeler should be able to allow exclude some labels

0 views
Skip to first unread message

sean@flanigan.org (JIRA)

unread,
Sep 26, 2016, 4:02:02 AM9/26/16
to jenkinsc...@googlegroups.com
Sean Flanigan commented on Improvement JENKINS-17904
 
Re: Platform labeler should be able to allow exclude some labels

As an example of the problem:

I have a number of generic build slaves. Platform Labeler gives them the automatic label "Fedora" (among others). I also have a special performance test slave, with the special label "performance". This slave is configured with the usage restriction "Only build jobs with label restrictions matching this node". But it too gets the automatic label "Fedora" (which is not visible when configuring the slave: out of sight, out of mind).

Any jobs which are configured to run on a generic label like "Fedora" are currently free to select the performance slave, but by selecting "Only build jobs with label restrictions matching this node" I was hoping to avoid this. (I suppose I will have to specify "Fedora && !performance" on these jobs as a workaround.)

Disabling the automatic labels for a particular slave (or "Only build jobs with label restrictions matching this node's explicit labels") would be a cleaner option for me, since only jobs with the explicitly listed label ("performance") would run on the node. This sounds like Kevin Cai's first option in the description.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo

mark.earl.waite@gmail.com (JIRA)

unread,
Aug 29, 2019, 4:13:03 AM8/29/19
to jenkinsc...@googlegroups.com
Mark Waite assigned an issue to Unassigned
 
Jenkins / Improvement JENKINS-17904
Change By: Mark Waite
Assignee: lifeless
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

mark.earl.waite@gmail.com (JIRA)

unread,
Oct 10, 2019, 12:30:03 AM10/10/19
to jenkinsc...@googlegroups.com
Mark Waite closed an issue as Fixed
 

Included in platformlabeler 4.0, released Oct 9, 2019. Special thanks to Markus Winter for implementing the enhancement and working it through the code review process.

Change By: Mark Waite
Status: Open Closed
Resolution: Fixed
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages