From 7a202f5a940a5331a23fb8b20513708caabc6687 Mon Sep 17 00:00:00 2001 From: Alexander Suter Date: Fri, 19 Jul 2024 14:26:17 +0200 Subject: [PATCH] Remove sonar left-overs --- Jenkinsfile | 5 ----- pom.xml | 3 --- 2 files changed, 8 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 1d285046..94a60234 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -35,10 +35,6 @@ pipeline { "-Divy.engine.list.url=${params.engineListUrl} " + "-Dmaven.test.failure.ignore=true" } - //disable for the moment, because sonar fails - //if (env.BRANCH_NAME == 'master') { - // maven cmd: "sonar:sonar -Dsonar.host.url=https://sonar.ivyteam.io -Dsonar.projectKey=project-build-plugin -Dsonar.projectName=project-build-plugin" - //} collectBuildArtifacts() } } @@ -62,7 +58,6 @@ def collectBuildArtifacts() { junit testDataPublishers: [[$class: 'AttachmentPublisher'], [$class: 'StabilityTestDataPublisher']], testResults: '**/target/surefire-reports/**/*.xml' recordIssues tools: [mavenConsole()], qualityGates: [[threshold: 1, type: 'TOTAL']], filters: [ excludeType('site-maven-plugin:site'), - excludeType('sonar-maven-plugin:sonar'), excludeType('maven-surefire-plugin:test'), // printed to console by test. was since ever the case but they are now real maven warnings excludeMessage('.*Uncaught exception in thread Thread.*'), diff --git a/pom.xml b/pom.xml index 2cb0425b..04c0b7c3 100644 --- a/pom.xml +++ b/pom.xml @@ -198,9 +198,6 @@ 3.13.0 ${java.version} - - ${java.version} - ${java.version}