From e61cdda8cf9c34d4c6cb335f5ce3ecad408e7677 Mon Sep 17 00:00:00 2001 From: Mat Sutcliffe Date: Thu, 3 Jan 2019 23:54:23 +0000 Subject: [PATCH] [Jenkinsfile] Use 'master' node for steps that don't actually compile code. This avoids unnecessary delays by reducing contention with the 'linux' node when multiple branches are building. --- Jenkinsfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 8af2edc90..14385fe3f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -209,13 +209,13 @@ try { } } } catch (error) { - node('linux') { + node('master') { notifyHarbormaster() } throw error } -node('linux') { +node('master') { try { stage('Package XSwiftBus') { unstash name: 'xswiftbus-linux-64' @@ -248,7 +248,7 @@ node('linux') { } } -node('linux') { +node('master') { try { def regexDevBranch = /develop\/\d+\.\d+\.\d+/ if (env.BRANCH_NAME && env.BRANCH_NAME ==~ regexDevBranch) { @@ -297,7 +297,7 @@ node('linux') { } } -node('linux') { +node('master') { notifyHarbormaster() }