mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-27 11:05:44 +08:00
[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:
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@@ -209,13 +209,13 @@ try {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
node('linux') {
|
node('master') {
|
||||||
notifyHarbormaster()
|
notifyHarbormaster()
|
||||||
}
|
}
|
||||||
throw error
|
throw error
|
||||||
}
|
}
|
||||||
|
|
||||||
node('linux') {
|
node('master') {
|
||||||
try {
|
try {
|
||||||
stage('Package XSwiftBus') {
|
stage('Package XSwiftBus') {
|
||||||
unstash name: 'xswiftbus-linux-64'
|
unstash name: 'xswiftbus-linux-64'
|
||||||
@@ -248,7 +248,7 @@ node('linux') {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
node('linux') {
|
node('master') {
|
||||||
try {
|
try {
|
||||||
def regexDevBranch = /develop\/\d+\.\d+\.\d+/
|
def regexDevBranch = /develop\/\d+\.\d+\.\d+/
|
||||||
if (env.BRANCH_NAME && env.BRANCH_NAME ==~ regexDevBranch) {
|
if (env.BRANCH_NAME && env.BRANCH_NAME ==~ regexDevBranch) {
|
||||||
@@ -297,7 +297,7 @@ node('linux') {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
node('linux') {
|
node('master') {
|
||||||
notifyHarbormaster()
|
notifyHarbormaster()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user