Skip to content
Snippets Groups Projects

fix: Remove skipTests from scan stage

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -120,7 +120,7 @@ pipeline {
@@ -120,7 +120,7 @@ pipeline {
readTrusted 'package.json'
readTrusted 'package.json'
sh 'make compile-test-resources'
sh 'make compile-test-resources'
withCredentials([string(credentialsId: 'sonarcloud-token-eclipsefdn-profile-api', variable: 'SONAR_TOKEN')]) {
withCredentials([string(credentialsId: 'sonarcloud-token-eclipsefdn-profile-api', variable: 'SONAR_TOKEN')]) {
sh 'mvn clean verify -B org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.login=${SONAR_TOKEN} -Dmaven.test.skip=true'
sh 'mvn clean verify -B org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.login=${SONAR_TOKEN}'
}
}
stash name: "target", includes: "target/**/*"
stash name: "target", includes: "target/**/*"
Loading