Commit eaafd176 authored by Fabien Forestier's avatar Fabien Forestier
Browse files

Add ing build tag on sonarqube job

parent 3fd47b5d
Pipeline #6884 passed with stage
in 5 seconds
......@@ -10,6 +10,8 @@ variables:
sonarqube:
stage: sonar-analysis
tags:
- build
only:
- master
before_script:
......@@ -35,10 +37,10 @@ build_development:
script:
- export TAG=$CI_COMMIT_SHORT_SHA
- echo ${TAG}
- docker-compose build
- docker-compose build
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker-compose push
- "curl -X POST -F token=$CI_JOB_TOKEN -F ref=master -F variables[TAG]=${TAG} https://forge.grandlyon.com/api/v4/projects/330/trigger/pipeline"
- 'curl -X POST -F token=$CI_JOB_TOKEN -F ref=master -F variables[TAG]=${TAG} https://forge.grandlyon.com/api/v4/projects/330/trigger/pipeline'
build_release:
stage: build
......@@ -52,4 +54,3 @@ build_release:
- docker-compose build
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker-compose push
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment