8000 SONAR_TOKEN · githubfoam/gradle-pipeline@3f3916d · GitHub
[go: up one dir, main page]

Skip to content

Commit 3f3916d

Browse files
committed
SONAR_TOKEN
1 parent 837a15a commit 3f3916d

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,8 @@ matrix:
149149
# after_success:
150150
# - deactivate
151151

152+
# https://sonarcloud.io/account/security
153+
# https://docs.travis-ci.com/user/sonarcloud/
152154
- name: "deploy gradle w jacoco junit sonarcloud on bionic arm64"
153155
dist: bionic
154156
sudo: false
@@ -158,7 +160,7 @@ matrix:
158160
sonarcloud:
159161
organization: "githubfoam"
160162
token:
161-
secure: "ba8141c15692a911c61d56ecea297c0264beaf58"
163+
secure: $SONAR_TOKEN
162164
language: shell
163165
# language: java
164166
# jdk:

app11/sonar-project.properties

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# must be unique in a given SonarQube instance
2+
sonar.projectKey=my:project
3+
4+
# --- optional properties ---
5+
6+
# defaults to project key
7+
#sonar.projectName=My project
8+
# defaults to 'not provided'
9+
#sonar.projectVersion=1.0
10+
11+
# Path is relative to the sonar-project.properties file. Defaults to .
12+
#sonar.sources=.
13+
14+
# Encoding of the source code. Default is default system encoding
15+
#sonar.sourceEncoding=UTF-8

0 commit comments

Comments
 (0)
0