fix(ci): hard coding the lock resource
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
This commit is contained in:
@@ -33,7 +33,6 @@ def gitCommitAuthorEmailAddr
|
|||||||
|
|
||||||
// list of failing stages
|
// list of failing stages
|
||||||
def failingStages = ""
|
def failingStages = ""
|
||||||
def lockForMessage = 'Parent-Lock'
|
|
||||||
|
|
||||||
pipeline {
|
pipeline {
|
||||||
agent {
|
agent {
|
||||||
@@ -728,7 +727,7 @@ def triggerSlaveJobNoGitLab (jobName) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
def finalizeSlaveJob(jobName) {
|
def finalizeSlaveJob(jobName) {
|
||||||
lock (lockForMessage) {
|
lock ('Parent-Lock') {
|
||||||
// In case of any non-success, we are retrieving the HTML report of the last completed
|
// In case of any non-success, we are retrieving the HTML report of the last completed
|
||||||
// slave job. The only drop-back is that we may retrieve the HTML report of a previous build
|
// slave job. The only drop-back is that we may retrieve the HTML report of a previous build
|
||||||
if (jobName == 'OAI-CN5G-COTS-UE-Test') {
|
if (jobName == 'OAI-CN5G-COTS-UE-Test') {
|
||||||
|
|||||||
Reference in New Issue
Block a user