:sonar-properties: Sonar configuration properties. (default: "")
:sonar-java-opts: JVM options. (default: "")
:sonar-additional-args: Additional command line arguments. (default: "")
- :sonarcloud-java-version: Version of Java to run the Sonar scan. (default: "openjdk13")
+ :sonarcloud-java-version: Version of Java to run the Sonar scan. (default: "openjdk17")
Sonar with Prescan
:sonar-properties: Sonar configuration properties. (default: "")
:sonar-java-opts: JVM options. (default: "")
:sonar-additional-args: Additional command line arguments. (default: "")
- :sonarcloud-java-version: Version of Java to run the Sonar scan. (default: "openjdk13")
+ :sonarcloud-java-version: Version of Java to run the Sonar scan. (default: "openjdk17")
Sonar with Prescan Script
:sonar-properties: Sonar configuration properties. (default: "")
:sonar-java-opts: JVM options. (default: "")
:sonar-additional-args: Additional command line arguments. (default: "")
- :sonarcloud-java-version: Version of Java to run the Sonar scan. (default: "openjdk13")
+ :sonarcloud-java-version: Version of Java to run the Sonar scan. (default: "openjdk17")
:Required Parameters:
- :java-version: Version of Java to execute Sonar with. (default: openjdk13)
+ :java-version: Version of Java to execute Sonar with. (default: openjdk11)
:mvn-version: Version of Maven to execute Sonar with.
:mvn-settings: Maven settings.xml file containing credentials to use.
:mvn-settings: Maven settings.xml file containing credentials to use.
:sonarcloud-project-key: SonarCloud project key.
:sonarcloud-project-organization: SonarCloud project organization.
- :sonarcloud-java-version: Version of Java to run the Sonar scan. (default: openjdk13)
+ :sonarcloud-java-version: Version of Java to run the Sonar scan. (default: openjdk17)
:sonarcloud-qualitygate-wait: SonarCloud flag that forces the analysis step to
wait for the quality gate result. (default: false)
:sonarcloud-api-token-cred-id: Jenkins credential ID which has the SonarCloud API Token.
This one SHOULDN'T be overwritten as we are standarizing the credential ID for all
projects (default: 'sonarcloud-api-token')
- :sonarcloud-java-version: Version of Java to use for the Sonar scan. (default: openjdk11)
+ :sonarcloud-java-version: Version of Java to use for the Sonar scan. (default: openjdk17)
:stream: Keyword that represents a release code-name.
Often the same as the branch. (default: master)
:submodule-recursive: Whether to checkout submodules recursively.
:sonarcloud-api-token-cred-id: Jenkins credential ID which has the SonarCloud API Token.
This one SHOULDN'T be overwritten as we are standarizing the credential ID for all
projects (default: 'sonarcloud-api-token')
- :sonarcloud-java-version: Version of Java to use for the Sonar scan. (default: openjdk11)
+ :sonarcloud-java-version: Version of Java to use for the Sonar scan. (default: openjdk17)
:sonarcloud-qualitygate-wait: SonarCloud flag that forces the analysis step to
wait for the quality gate result. (default: false)
:stream: Keyword that represents a release code-name.
disable-job: false
git-url: "$GIT_URL/$PROJECT"
github-url: "https://github.com"
- sonarcloud-java-version: openjdk13
+ sonarcloud-java-version: openjdk17
stream: master
submodule-recursive: true
submodule-timeout: 10
disable-job: false
git-url: "$GIT_URL/$PROJECT"
github-url: "https://github.com"
- java-version: openjdk13
+ java-version: openjdk11
mvn-global-settings: global-settings
mvn-goals: clean install
mvn-opts: ""
sonarcloud-project-organization: ""
sonarcloud-api-token-cred-id: sonarcloud-api-token
sonarcloud-qualitygate-wait: false
- # Projects not compatible with jdk13 can set java-version to something else
- sonarcloud-java-version: openjdk13
+ # Projects not compatible with jdk17 can set java-version to something else
+ sonarcloud-java-version: openjdk17
stream: master
submodule-recursive: true
submodule-timeout: 10
disable-job: false
git-url: "$GIT_URL/$PROJECT"
github-url: "https://github.com"
- # Projects not compatible with jdk13 can set java-version to something else
- java-version: openjdk13
+ # SonarCloud scan using jdk8 will become deprecated by Oct, 2020
+ # Projects not compatible with jdk11 can set java-version to something else
+ java-version: openjdk11
parallel: true
pre-build-script: "# pre-build script goes here"
python-version: python3
disable-job: false
git-url: "$GIT_URL/$PROJECT"
github-url: "https://github.com"
- java-version: openjdk13
+ java-version: openjdk11
mvn-global-settings: global-settings
mvn-goals: validate
mvn-opts: ""
sonarcloud-project-organization: ""
sonarcloud-api-token-cred-id: sonarcloud-api-token
sonarcloud-qualitygate-wait: false
- # Projects not compatible with jdk13 can set java-version to something else
- sonarcloud-java-version: openjdk13
+ # Projects not compatible with jdk17 can set java-version to something else
+ sonarcloud-java-version: openjdk17
stream: master
submodule-recursive: true
submodule-timeout: 10
--- /dev/null
+---
+deprecations:
+ - |
+ Sonarcloud upload will stop working with java11 on November 15th 2023
+ Update OpenJDK to release 17 for sonar jobs
+ Also revert from JDK13 -> JDK11 in a couple of places where the
+ previous release/update had unintended scope