Code Review
/
releng
/
global-jjb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Create managed config files yaml from config dir"
[releng/global-jjb.git]
/
jjb
/
lf-maven-jobs.yaml
diff --git
a/jjb/lf-maven-jobs.yaml
b/jjb/lf-maven-jobs.yaml
index
d13bb5d
..
9bf175c
100644
(file)
--- a/
jjb/lf-maven-jobs.yaml
+++ b/
jjb/lf-maven-jobs.yaml
@@
-1138,6
+1138,9
@@
sonarcloud-project-key: ""
sonarcloud-project-organization: ""
sonarcloud-api-token: ""
sonarcloud-project-key: ""
sonarcloud-project-organization: ""
sonarcloud-api-token: ""
+ # SonarCloud scan using jdk8 will become deprecated by Oct, 2020
+ # Projects not compatible with jdk11 can set java-version to something else
+ sonarcloud-java-version: openjdk11
stream: master
submodule-recursive: true
submodule-timeout: 10
stream: master
submodule-recursive: true
submodule-timeout: 10
@@
-1212,6
+1215,7
@@
sonarcloud-project-key: "{sonarcloud-project-key}"
sonarcloud-project-organization: "{sonarcloud-project-organization}"
sonarcloud-api-token: "{sonarcloud-api-token}"
sonarcloud-project-key: "{sonarcloud-project-key}"
sonarcloud-project-organization: "{sonarcloud-project-organization}"
sonarcloud-api-token: "{sonarcloud-api-token}"
+ sonarcloud-java-version: "{sonarcloud-java-version}"
# With SonarQube
- conditional-step:
condition-kind: not
# With SonarQube
- conditional-step:
condition-kind: not
@@
-1268,6
+1272,7
@@
PROJECT_ORGANIZATION={sonarcloud-project-organization}
MAVEN_GOALS={mvn-goals}
API_TOKEN={sonarcloud-api-token}
PROJECT_ORGANIZATION={sonarcloud-project-organization}
MAVEN_GOALS={mvn-goals}
API_TOKEN={sonarcloud-api-token}
+ SONARCLOUD_JAVA_VERSION={sonarcloud-java-version}
- lf-provide-maven-settings:
global-settings-file: global-settings
settings-file: "{mvn-settings}"
- lf-provide-maven-settings:
global-settings-file: global-settings
settings-file: "{mvn-settings}"