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

Changed curl to variable.

parent ddb4ea29
No related branches found
No related tags found
No related merge requests found
Pipeline #84433 passed
This commit is part of merge request !100. Comments created here will be created in the context of that merge request.
......@@ -59,13 +59,16 @@ 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:
- curl "https://test-swd-release-service01.geant.org/job/build-python-snapshot/buildWithParameters" \
--user $JENKINS_USERNAME:$JENKINS_API_TOKEN \
--data "PROJECT=${PROJECT_NAME}"
- echo "Triggering Jenkins build"
- echo $CURL_COMMAND
# 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