Skip to content

Commit

Permalink
Merge pull request #459 from axonivy/sonar
Browse files Browse the repository at this point in the history
Remove sonar left-overs
  • Loading branch information
alexsuter authored Jul 19, 2024
2 parents 6db7f83 + 7a202f5 commit cd2898b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
5 changes: 0 additions & 5 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
}
Expand All @@ -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.*'),
Expand Down
3 changes: 0 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,6 @@
<version>3.13.0</version>
<configuration>
<release>${java.version}</release>
<!-- needed for sonar (sonar plugin is not aware of 'release') -->
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>
</plugin>
<plugin>
Expand Down

0 comments on commit cd2898b

Please sign in to comment.