Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
frag.jetzt SWTP 2022
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Privacy
Imprint
Contact
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Marc Tröll
frag.jetzt SWTP 2022
Commits
2d7b58bf
Commit
2d7b58bf
authored
4 years ago
by
Nils Mittler
Browse files
Options
Downloads
Patches
Plain Diff
use sonar cli for analysis instead of gradle
parent
7e8d3fd8
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
.gitignore
+3
-3
3 additions, 3 deletions
.gitignore
.gitlab-ci.yml
+5
-6
5 additions, 6 deletions
.gitlab-ci.yml
build.gradle
+0
-28
0 additions, 28 deletions
build.gradle
gradle.properties
+0
-1
0 additions, 1 deletion
gradle.properties
sonar-project.properties
+12
-0
12 additions, 0 deletions
sonar-project.properties
with
20 additions
and
38 deletions
.gitignore
+
3
−
3
View file @
2d7b58bf
...
...
@@ -43,6 +43,6 @@ testem.log
.DS_Store
Thumbs.db
#
sonar and gradle stuff
build
.
gradle
#
code analysis
.lcov_output
.
scannerwork
This diff is collapsed.
Click to expand it.
.gitlab-ci.yml
+
5
−
6
View file @
2d7b58bf
...
...
@@ -24,16 +24,15 @@ tslint:
sonar
:
stage
:
codestyle
only
:
-
master
#
only:
#
- master
tags
:
-
gradle-node
-
sonar-cli
allow_failure
:
true
dependencies
:
[]
variables
:
GIT_DEPTH
:
0
script
:
-
gradle sonarqube -Dsonar.host.url=https://scm.thm.de/sonar/
-
npm i
-
sonar-scanner -Dsonar.host.url=https://scm.thm.de/sonar/
#unit_tests:
# stage: test
...
...
This diff is collapsed.
Click to expand it.
build.gradle
deleted
100644 → 0
+
0
−
28
View file @
7e8d3fd8
/* This Gradle build script is currently only used for SonarQube Scanner */
plugins
{
id
"org.sonarqube"
version
"2.5"
}
group
=
"de.thm.arsnova"
sonarqube
{
properties
{
property
"sonar.projectKey"
,
"de.thm.arsnova:frag-jetzt-frontend"
property
"sonar.projectName"
,
"frag.jetzt Frontend"
property
"sonar.projectVersion"
,
"1.0"
property
"sonar.language"
,
"ts"
property
"sonar.sourceEncoding"
,
"UTF-8"
property
"sonar.sources"
,
"src"
property
"sonar.exclusions"
,
"**/node_modules/**, client/thirdParty/**"
property
"sonar.tests"
,
"src"
property
"sonar.test.inclusions"
,
"**/*.spec.ts"
/* property "sonar.typescript.lcov.reportPaths", "coverage/lcov.info" */
property
"sonar.host.url"
,
"https://scm.thm.de/sonar/"
}
}
This diff is collapsed.
Click to expand it.
gradle.properties
deleted
100644 → 0
+
0
−
1
View file @
7e8d3fd8
org.gradle.jvmargs
=
-Xmx2048m
This diff is collapsed.
Click to expand it.
sonar-project.properties
0 → 100644
+
12
−
0
View file @
2d7b58bf
# Required metadata
sonar.projectKey
=
de.thm.arsnova:frag-jetzt-frontend
sonar.projectName
=
frag.jetzt Frontend
sonar.projectVersion
=
1.0
sonar.language
=
ts
sonar.sources
=
./src
sonar.exclusions
=
dist/**/*, node_modules/**/*, **/*.spec.ts
sonar.sourceEncoding
=
UTF-8
sonar.tests
=
./src
sonar.test.inclusions
=
**/*.spec.ts
sonar.host.url
=
http://sonarqube:9000
# sonar.typescript.lcov.reportPaths=.lcov_output/lcov.info
This diff is collapsed.
Click to expand it.
Preview
0%
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