Skip to content

Commit

Permalink
build(generated): optimize mvn calls
Browse files Browse the repository at this point in the history
Generated SDK source code using:
- Generator version 3.90.0
- Specification version 1.0.0-dev0.1.9
- Automation (cloudant-sdks) version 0e529c5

Signed-off-by: cloudant-sdks-automation <71659186+cloudant-sdks-automation@users.noreply.github.com>
  • Loading branch information
cloudant-sdks-automation authored and ricellis committed May 10, 2024
1 parent c8819cd commit 9ea4bb8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -298,13 +298,14 @@ void applyCustomizations() {

scanCode = {
withSonarQubeEnv(installationName: 'SonarQubeServer') {
sh "mvn install sonar:sonar -Dsonar.qualitygate.wait=true -Dsonar.branch.name=${env.BRANCH_NAME} -Dsonar.exclusions=examples/**"
sh "mvn sonar:sonar -Dsonar.qualitygate.wait=true -Dsonar.branch.name=${env.BRANCH_NAME} -Dsonar.exclusions=examples/** --settings build/jenkins.settings.xml"
}
}
}

void runTests() {
sh 'mvn verify --settings build/jenkins.settings.xml'
// Allow tests to run classes in parallel, but don't fork an extra JVM for it
sh 'mvn verify -DforkCount=0 -Dparallel=classes --settings build/jenkins.settings.xml'
}

void publishStaging() {
Expand Down

0 comments on commit 9ea4bb8

Please sign in to comment.