[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.
This commit is contained in:
Mat Sutcliffe
2019-01-03 23:54:23 +00:00
parent ac91c8fa09
commit e61cdda8cf

8
Jenkinsfile vendored
View File

@@ -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()
}