From 216429c562295cd5803835d79d2e165370f24e27 Mon Sep 17 00:00:00 2001
From: Neda Moeini <neda.moeini@geant.org>
Date: Mon, 6 Nov 2023 14:29:00 +0100
Subject: [PATCH] Updated gitlab-ci.

---
 .gitlab-ci.yml | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9c1e96140..7802fc5ec 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -63,10 +63,9 @@ trigger_jenkins_build:
   before_script:
     - apk add --no-cache curl jq
   script:
-    - echo $JENKINS_USERNAME
-    - 'curl "http://test-swd-release-service01.geant.org:8080/job/build-python-snapshot/buildWithParameters" \
-              --user $JENKINS_USERNAME:$JENKINS_API_TOKEN \
-              --data "PROJECT=geant-service-orchestrator"'
+    - curl -u $JENKINS_USERNAME:$JENKINS_API_TOKEN \
+     --data-urlencode "PROJECT=geant-service-orchestrator" \
+     "http://test-swd-release-service01.geant.org/:8080/job/build-python-snapshot/buildWithParameters"
   #  only:
   #    - develop
   tags:
-- 
GitLab