From 27c690d3bf818547917d2739e5c60bbc35ad332d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roland=20Hu=C3=9F?= Date: Thu, 4 Jun 2020 10:08:29 +0200 Subject: [PATCH] chore: Fix Sonar build (#1345) * chore: Fix Sonar build * Update to Java 11 * more fixe --- .circleci/config.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 9c3f7d9c6..81ed0aa80 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -5,7 +5,7 @@ jobs: doc: working_directory: ~/fabric8io/dmp-docs docker: - - image: circleci/node:8-browsers + - image: circleci/node:9-browsers steps: - checkout - run: @@ -17,7 +17,7 @@ jobs: build: working_directory: ~/fabric8io/docker-maven-plugin docker: - - image: circleci/openjdk:8-node-browsers + - image: circleci/openjdk:11 steps: - checkout - restore_cache: @@ -52,7 +52,7 @@ jobs: sonar-pr: working_directory: ~/fabric8io/dmp-sonar-pr docker: - - image: circleci/openjdk:8-node-browsers + - image: circleci/openjdk:11 steps: - checkout - restore_cache: @@ -67,6 +67,7 @@ jobs: -Dsonar.pullrequest.github.repository=fabric8io/docker-maven-plugin \ -Dsonar.github.oauth=${GITHUB_COMMENT_TOKEN} \ -Dsonar.host.url=https://sonarcloud.io \ + -Dsonar.organization=default \ -Dsonar.login=${SONARQUBE_TOKEN} else echo "No Sonar PR analysis as this is not a pull request" @@ -80,7 +81,7 @@ jobs: sonar: working_directory: ~/fabric8io/dmp-sonar docker: - - image: circleci/openjdk:8-node-browsers + - image: circleci/openjdk:11 steps: - checkout - restore_cache: @@ -88,6 +89,7 @@ jobs: - run: | mvn clean -Pjacoco org.jacoco:jacoco-maven-plugin:prepare-agent package sonar:sonar \ -Dsonar.host.url=https://sonarcloud.io \ + -Dsonar.organization=default \ -Dsonar.login=${SONARQUBE_TOKEN} - save_cache: key: dmp-sonar-{{ checksum "pom.xml" }}