Skip to content
Snippets Groups Projects
Commit 7df6cf57 authored by Neda Moeini's avatar Neda Moeini
Browse files

Changed curl to variable.

parent 4316f84e
No related branches found
No related tags found
No related merge requests found
Pipeline #84434 failed
......@@ -59,16 +59,15 @@ sonarqube:
trigger_jenkins_build:
stage: trigger_jenkins_build
image: ubuntu:latest
variables:
PROJECT_NAME: 'geant-service-orchestrator'
CURL_COMMAND: 'curl "https://test-swd-release-service01.geant.org/job/build-python-snapshot/buildWithParameters" \
--user "$JENKINS_USERNAME:$JENKINS_API_TOKEN" \
--data "PROJECT=${PROJECT_NAME}"'
script:
- echo "Triggering Jenkins build"
- echo $CURL_COMMAND
- 'curl "https://test-swd-release-service01.geant.org/job/build-python-snapshot/buildWithParameters" \
--user $JENKINS_USERNAME:$JENKINS_API_TOKEN \
--data "PROJECT=${PROJECT_NAME}"'
# only:
# - develop
# - develop
tags:
- docker-executor
# dependencies:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment