From 9a57514bf97d5b909841e8d3d2e1892bc9b54f96 Mon Sep 17 00:00:00 2001 From: Raphael Defosseux Date: Mon, 23 Oct 2023 20:29:26 +0200 Subject: [PATCH] fix(ci): hard coding the lock resource Signed-off-by: Raphael Defosseux --- ci-scripts/Jenkinsfile-GitLab-Container | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ci-scripts/Jenkinsfile-GitLab-Container b/ci-scripts/Jenkinsfile-GitLab-Container index 821d695d9d..61972c7226 100644 --- a/ci-scripts/Jenkinsfile-GitLab-Container +++ b/ci-scripts/Jenkinsfile-GitLab-Container @@ -33,7 +33,6 @@ def gitCommitAuthorEmailAddr // list of failing stages def failingStages = "" -def lockForMessage = 'Parent-Lock' pipeline { agent { @@ -728,7 +727,7 @@ def triggerSlaveJobNoGitLab (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 // 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') {