Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Khalid Ali
bookshare-backend
Commits
e2229326
Commit
e2229326
authored
Jan 13, 2019
by
Khalid Ali
Browse files
Change CI_COMMIT_REF to CI_COMMIT_SHA
parent
e7c89976
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
e2229326
...
@@ -14,5 +14,5 @@ sonarqube_preview_feature_job:
...
@@ -14,5 +14,5 @@ sonarqube_preview_feature_job:
-
/^feature\/*/
-
/^feature\/*/
script
:
script
:
-
git checkout origin/master
-
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
-
./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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment