Branch: refs/heads/RE-1502
  Home:   https://github.com/jenkinsci/nodepool-agents-plugin
  Commit: d736dbc3c70b2a9f175776257e4c20455cd22a44
      
https://github.com/jenkinsci/nodepool-agents-plugin/commit/d736dbc3c70b2a9f175776257e4c20455cd22a44
  Author: Hugh Saunders <[email protected]>
  Date:   2018-05-14 (Mon, 14 May 2018)

  Changed paths:
    M src/main/java/com/rackspace/jenkins_nodepool/NodePoolQueueListener.java

  Log Message:
  -----------
  RE-1502 Tighten regex for specific nodes

There is some code in NodePoolQueueListener that attempts to detect
when a build is requesting a specific node rather than a general label
the idea being that builds should never request a specific node, so
those builds will be cancelled.

However we introduced general labels that end with a number and
legitimate jobs were being cancelled.

This patch tightens up the regex so that only labels that end with
dash then ten digits will be caught as nodepool ids are 10 digits long.

Ideally we would get a list of labels from nodepool and compare
agianst that instead of pattern matching, but I can't see a way
of doing that.



      **NOTE:** This service been marked for deprecation: 
https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to