Commit e2229326 authored by Khalid Ali's avatar Khalid Ali

Change CI_COMMIT_REF to CI_COMMIT_SHA

parent e7c89976
......@@ -14,5 +14,5 @@ sonarqube_preview_feature_job:
- /^feature\/*/
script:
- git checkout origin/master
- git merge $CI_COMMIT_REF --no-commit --no-ff
- git merge $CI_COMMIT_SHA --no-commit --no-ff
- ./gradlew sonarqube -Dsonar.host.url=$SONAR_URL -Dsonar.login=$SONAR_LOGIN -Dsonar.password=$SONAR_PASS -Dsonar.analysis.mode=preview -Dsonar.gitlab.commit_sha=$CI_BUILD_REF -Dsonar.gitlab.ref=$CI_BUILD_REF_NAME -Dsonar.gitab.project_id=$CI_PROJECT_ID
\ No newline at end of file
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