From de69f85de71d45d8328e2edf9702525f7de972bc Mon Sep 17 00:00:00 2001 From: Martin Raifer Date: Mon, 19 Apr 2021 17:01:33 +0200 Subject: [PATCH 1/2] add base configs for sonarcloud code analysis --- Jenkinsfile.template | 3 +++ pom.xml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/Jenkinsfile.template b/Jenkinsfile.template index 05e26fd..4a95a58 100644 --- a/Jenkinsfile.template +++ b/Jenkinsfile.template @@ -58,6 +58,9 @@ pipeline { stage ('Reports and Statistics') { steps { script { + withSonarQubeEnv('sonarcloud GIScience/ohsome') { + sh "mvn sonar:sonar -Dsonar.branch.name=${env.BRANCH_NAME}" + } report_basedir = "/srv/reports/${REPO_NAME}/${VERSION}_${env.BRANCH_NAME}/${env.BUILD_NUMBER}_${LATEST_COMMIT_ID}" // jacoco diff --git a/pom.xml b/pom.xml index cf26b8f..0b06ed2 100644 --- a/pom.xml +++ b/pom.xml @@ -81,6 +81,9 @@ 1.6 3.2.0 1.6.8 + giscience + https://sonarcloud.io + ${project.build.directory}/site/jacoco/jacoco.xml -- GitLab From 31a8bd4cc3f97425e36b6005b9afd7b699c50434 Mon Sep 17 00:00:00 2001 From: Martin Raifer Date: Mon, 19 Apr 2021 17:14:26 +0200 Subject: [PATCH 2/2] release as version 2.9 --- .idea/checkstyle-idea.xml | 4 ++-- CHANGELOG.md | 8 ++++++-- ohsome-codestyle/pom.xml | 2 +- pom.xml | 4 ++-- 4 files changed, 11 insertions(+), 7 deletions(-) diff --git a/.idea/checkstyle-idea.xml b/.idea/checkstyle-idea.xml index 15868e8..9fcc8b9 100644 --- a/.idea/checkstyle-idea.xml +++ b/.idea/checkstyle-idea.xml @@ -3,12 +3,12 @@