CI: adding a EPC lockable resource to pipeline
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
This commit is contained in:
@@ -36,6 +36,9 @@ def testStageName = params.pipelineTestStageName
|
|||||||
// Name of the phone resource
|
// Name of the phone resource
|
||||||
def ciSmartPhoneResource = params.smartphonesResource
|
def ciSmartPhoneResource = params.smartphonesResource
|
||||||
|
|
||||||
|
// Name of the phone resource
|
||||||
|
def ciEpcResource = params.epcResource
|
||||||
|
|
||||||
// Terminate Status
|
// Terminate Status
|
||||||
def termUE = 0
|
def termUE = 0
|
||||||
def termENB = 1
|
def termENB = 1
|
||||||
@@ -64,7 +67,7 @@ pipeline {
|
|||||||
options {
|
options {
|
||||||
disableConcurrentBuilds()
|
disableConcurrentBuilds()
|
||||||
ansiColor('xterm')
|
ansiColor('xterm')
|
||||||
lock (ciSmartPhoneResource)
|
lock(extra: [[resource: ciEpcResource]], resource: ciSmartPhoneResource)
|
||||||
}
|
}
|
||||||
// the following parameter options are commented out so it shows the ones
|
// the following parameter options are commented out so it shows the ones
|
||||||
// that you SHALL have to run the job.
|
// that you SHALL have to run the job.
|
||||||
|
|||||||
Reference in New Issue
Block a user