Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
print-demo
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
print-demo
Commits
f774715e
Commit
f774715e
authored
Apr 23, 2020
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update sonar_preview.sh
parent
c2efbfdb
Pipeline
#36
failed with stage
in 1 second
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
ci/sonar_preview.sh
+2
-3
No files found.
ci/sonar_preview.sh
View file @
f774715e
...
...
@@ -7,9 +7,7 @@ mvn --batch-mode verify sonar:sonar \
-Dsonar
.analysis.mode
=
preview
\
-Dsonar
.gitlab.project_id
=
$CI_PROJECT_ID
\
-Dsonar
.gitlab.commit_sha
=
$CI_COMMIT_SHA
\
-Dsonar
.gitlab.ref_name
=
$CI_COMMIT_REF_NAME
\
clean install
-Dsonar
.gitlab.ref_name
=
$CI_COMMIT_REF_NAME
if
[
$?
-eq
0
]
;
then
echo
"sonarqube code-analyze-preview over."
fi
\ 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