Commit fb30fd0b authored by Boris Djalal's avatar Boris Djalal

Adding Jenkins resource lock.

Signed-off-by: default avatarBoris Djalal <boris.djalal@eurecom.fr>
parent ea8a4ebc
......@@ -36,6 +36,9 @@ def testXMLFile = params.pythonTestXmlFile
def mainPythonAllXmlFiles = ""
def BUILD_STAGE_STATUS = true
// Name of the phone resource
def ciUSRPsResource = params.USRPsResource
// Terminate Status
def termUE = 0
def termENB = 1
......@@ -73,6 +76,7 @@ pipeline {
timestamps()
gitLabConnection('OAI GitLab')
ansiColor('xterm')
lock (ciUSRPsResource)
}
stages {
......@@ -148,6 +152,11 @@ pipeline {
// picking default
testStageName = 'Template Test Stage'
}
if (params.USRPsResource == null) {
allParametersPresent = false
}
echo "params.eNB_IPAddress = ${params.eNB_IPAddress}"
if (params.eNB_IPAddress == null) {
allParametersPresent = false
......
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