The source project of this merge request has been removed.
Update sonar in Jenkins to split build into sonar scan and no scan build
2 unresolved threads
2 unresolved threads
Merge request reports
Activity
Filter activity
requested review from @fgurr
added 11 commits
-
27b87cec...7d68948c - 9 commits from branch
eclipsefdn/it/api:main
- 1da33251 - Update sonar in Jenkins to split build into sonar scan and no scan build
- fc3001ca - Add upstream sonarcloud url back to POM for builds
-
27b87cec...7d68948c - 9 commits from branch
127 130 withCredentials([string(credentialsId: 'sonarcloud-token-git-eca-rest-api', variable: 'SONAR_TOKEN')]) { 128 131 sh 'mvn org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.login=${SONAR_TOKEN} -Dmaven.test.skip=true' changed this line in version 3 of the diff
added 1 commit
- 62238cb7 - Update sonar scan in Jenkins to clean and verify to fix build
added 1 commit
- 09946d7f - Fix missing properties that are breaking the API build
120 120 stages { 121 stage('Build Java code') { 121 stage('Build with Sonarcloud scan') { 122 when { 123 branch 'main' 124 } 122 125 steps { 123 126 container('buildcontainer') { 124 127 readTrusted 'Makefile' 125 128 readTrusted 'pom.xml' 126 129 sh 'make generate-spec' 127 130 withCredentials([string(credentialsId: 'sonarcloud-token-git-eca-rest-api', variable: 'SONAR_TOKEN')]) { 128 sh 'mvn org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.login=${SONAR_TOKEN} -Dmaven.test.skip=true' 131 sh 'mvn clean verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -B -Dsonar.login=${SONAR_TOKEN}' 129 132 } 130 stash name: "target", includes: "target/**/*" added 1 commit
- 046fbace - Update docker build in CI to only run on prod and staging branches
mentioned in commit d14a9b2b
Please register or sign in to reply