Fakultas Ilmu Komputer UI
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Sonar Scanner CLI Image for Flutter
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Daya Adianto
Sonar Scanner CLI Image for Flutter
Commits
da2657b1
Commit
da2657b1
authored
5 years ago
by
Daya Adianto
Browse files
Options
Downloads
Patches
Plain Diff
Fix GitLab CI job that runs SonarScanner
parent
014baa5a
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+5
-2
5 additions, 2 deletions
.gitlab-ci.yml
README.md
+4
-1
4 additions, 1 deletion
README.md
with
9 additions
and
3 deletions
.gitlab-ci.yml
+
5
−
2
View file @
da2657b1
...
@@ -5,7 +5,10 @@ stages:
...
@@ -5,7 +5,10 @@ stages:
-
deploy
-
deploy
SonarScanner Analysis
:
SonarScanner Analysis
:
image
:
addianto/sonar-scanner-cli:latest
image
:
name
:
addianto/sonar-scanner-cli:latest
entrypoint
:
-
"
/bin/bash"
stage
:
test
stage
:
test
script
:
script
:
-
sonar-scanner
-
sonar-scanner
...
@@ -27,4 +30,4 @@ Publish to Docker Hub:
...
@@ -27,4 +30,4 @@ Publish to Docker Hub:
tags
:
tags
:
-
docker
-
docker
only
:
only
:
-
master
-
master
\ No newline at end of file
This diff is collapsed.
Click to expand it.
README.md
+
4
−
1
View file @
da2657b1
...
@@ -29,7 +29,10 @@ To use the container image as a base image for a CI job on GitLab CI/CD:
...
@@ -29,7 +29,10 @@ To use the container image as a base image for a CI job on GitLab CI/CD:
```
yaml
```
yaml
SonarScanner Analysis
:
SonarScanner Analysis
:
image
:
addianto/sonar-scanner-cli:latest
image
:
name
:
addianto/sonar-scanner-cli:latest
entrypoint
:
-
"
/bin/bash"
# Ideally you want to run SonarScanner after the test suite has generated
# Ideally you want to run SonarScanner after the test suite has generated
# test & coverage report. The following is only an example to run
# test & coverage report. The following is only an example to run
# SonarScanner concurrently with CI job(s) in `test` stage.
# SonarScanner concurrently with CI job(s) in `test` stage.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment