Skip to content
Snippets Groups Projects
Commit e489c58c authored by Martin Lowe's avatar Martin Lowe :flag_ca:
Browse files

Merge branch 'malowe/main/jenkinsfile-fix' into 'main'

Update Jenkinsfile

See merge request eclipsefdn/it/api/eclipsefdn-project-adopters!266
parents d1840ede 126fdc44
No related branches found
No related tags found
No related merge requests found
...@@ -138,7 +138,10 @@ pipeline { ...@@ -138,7 +138,10 @@ pipeline {
readTrusted 'Makefile' readTrusted 'Makefile'
readTrusted 'pom.xml' readTrusted 'pom.xml'
readTrusted 'package.json' readTrusted 'package.json'
sh 'make compile-test-resources' sh '''
make install
make compile-test-resources
'''
withCredentials([string(credentialsId: 'sonarcloud-token-eclipsefdn-project-adopters', variable: 'SONAR_TOKEN')]) { withCredentials([string(credentialsId: 'sonarcloud-token-eclipsefdn-project-adopters', variable: 'SONAR_TOKEN')]) {
sh 'mvn clean verify -B org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.token=${SONAR_TOKEN}' sh 'mvn clean verify -B org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.token=${SONAR_TOKEN}'
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment