mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 07:15:35 +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) {
|
||||
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()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user