Skip to content
Snippets Groups Projects

Added trigger_jenkins_build job to the pipeline.

Merged Neda Moeini requested to merge feature/NAT-361-trigger-jenkins-build into develop
Compare and
2 files
+ 20
23
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 20
3
---
---
stages:
stages:
- tox
# - tox
- documentation
# - documentation
- sonarqube
# - sonarqube
 
- trigger_jenkins_build
include:
include:
- docs/.gitlab-ci.yml
- docs/.gitlab-ci.yml
@@ -55,3 +56,19 @@ sonarqube:
@@ -55,3 +56,19 @@ sonarqube:
- sonar-scanner -Dsonar.login=$SONAR_TOKEN -Dproject.settings=./sonar.properties
- sonar-scanner -Dsonar.login=$SONAR_TOKEN -Dproject.settings=./sonar.properties
tags:
tags:
- docker-executor
- docker-executor
 
 
trigger_jenkins_build:
 
stage: trigger_jenkins_build
 
image: alpine:latest
 
before_script:
 
- apk add --no-cache curl jq
 
variables:
 
PROJECT_NAME: 'geant-service-orchestrator'
 
script:
 
- '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
 
tags:
 
- docker-executor
Loading