This is an automated email from the ASF dual-hosted git repository.
rfscholte pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-jenkins-env.git
The following commit(s) were added to refs/heads/master by this push:
new 49c8faa Add jenkinsEnv#nodeSelection to globally finetune node
selection
49c8faa is described below
commit 49c8faad7e1bebfb4cf2ed162020b1b51702917e
Author: rfscholte <[email protected]>
AuthorDate: Sat Jul 14 16:05:08 2018 +0200
Add jenkinsEnv#nodeSelection to globally finetune node selection
---
vars/jenkinsEnv.groovy | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/vars/jenkinsEnv.groovy b/vars/jenkinsEnv.groovy
index d55eb01..31e78b4 100644
--- a/vars/jenkinsEnv.groovy
+++ b/vars/jenkinsEnv.groovy
@@ -20,6 +20,11 @@
*/
class jenkinsEnv implements Serializable {
+ def nodeSelection(String osLabel) {
+ // exclude problematic nodes
+ return "'${osLabel}' && !ubuntu-eu2"
+ }
+
def labelForOS(String os) {
switch (os) {
case 'linux':