diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9c1e961407bc77d20b28e5740aa59c658a9ac90e..7802fc5ecbc1079acec3b572d2cde5e2095a1673 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: