Commit 59f2b907 authored by Anthony Geourjon's avatar Anthony Geourjon
Browse files

Merge branch 'EDCAMPUS-64-linker-gitlab-et-sonarcloud' into 'master'

Sending the scan to the right branch name on sonarcloud's project

See merge request !19
parents 1c8946da 4dac4d9a
...@@ -13,4 +13,4 @@ sonar-analysis: ...@@ -13,4 +13,4 @@ sonar-analysis:
- rm unzip.py - rm unzip.py
- rm sonar-scanner-cli-3.3.0.1492-linux.zip - rm sonar-scanner-cli-3.3.0.1492-linux.zip
- chmod -R +x sonar-scanner-3.3.0.1492-linux/ - chmod -R +x sonar-scanner-3.3.0.1492-linux/
- sonar-scanner-3.3.0.1492-linux/bin/sonar-scanner - sonar-scanner-3.3.0.1492-linux/bin/sonar-scanner -D sonar.branch.name=$(git log -n 1 --decorate | head -n 1 | sed -e 's/.*\/\(.*\)).*/\1/')
Markdown is supported
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