Commit b3d7ba0c authored by hardy's avatar hardy

adding a 2nd lockable resource

parent 94e1d87d
...@@ -34,7 +34,8 @@ def buildStageStatus = true ...@@ -34,7 +34,8 @@ def buildStageStatus = true
def testStageName = params.pipelineTestStageName def testStageName = params.pipelineTestStageName
// Name of the phone resource // Name of the phone resource
def ciSmartPhoneResource = params.smartphonesResource def ciSmartPhoneResource1 = params.smartphonesResource1
def ciSmartPhoneResource2 = params.smartphonesResource2
// Global Parameters. Normally they should be populated when the master job // Global Parameters. Normally they should be populated when the master job
// triggers the slave job with parameters // triggers the slave job with parameters
...@@ -51,7 +52,8 @@ pipeline { ...@@ -51,7 +52,8 @@ pipeline {
options { options {
disableConcurrentBuilds() disableConcurrentBuilds()
ansiColor('xterm') ansiColor('xterm')
lock (ciSmartPhoneResource) lock (ciSmartPhoneResource1)
lock (ciSmartPhoneResource2)
} }
stages { stages {
stage("Build Init") { stage("Build Init") {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment