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
51b05c60
Commit
51b05c60
authored
Apr 23, 2020
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update sonar_preview.sh
parent
6b55b3f9
Pipeline
#53
failed with stage
in 3 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
ci/sonar_preview.sh
+2
-7
No files found.
ci/sonar_preview.sh
View file @
51b05c60
...
...
@@ -7,13 +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
\
-Dsonar
.projectKey
=
org.sonarqube:java-print-demo-scanner
\
-Dsonar
.projectName
=
Java :: Print Demo :: SonarQube Scanner
\
-Dsonar
.projectVersion
=
1.0
\
-Dsonar
.sources
=
src
\
-Dsonar
.language
=
java
\
-Dsonar
.sourceEncoding
=
UTF-8
-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