mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-10-26 08:06:09 +01:00
quote list of module exclusions
This commit is contained in:
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@@ -63,13 +63,13 @@ node('docker') {
|
||||
|
||||
stage('Build') {
|
||||
// we exclude scm-packaging and scm-it to speed-up build
|
||||
mvn 'clean install -DskipTests -pl !scm-packaging,!scm-it'
|
||||
mvn 'clean install -DskipTests -pl "!scm-packaging,!scm-it"'
|
||||
}
|
||||
|
||||
parallel(
|
||||
unitTest: {
|
||||
stage('Unit Test') {
|
||||
mvn 'test -DskipFrontendBuild -DskipTypecheck -Pcoverage -pl !scm-packaging,!scm-it -Dmaven.test.failure.ignore=true'
|
||||
mvn 'test -DskipFrontendBuild -DskipTypecheck -Pcoverage -pl "!scm-packaging,!scm-it" -Dmaven.test.failure.ignore=true'
|
||||
junit allowEmptyResults: true, testResults: '**/target/surefire-reports/TEST-*.xml,**/target/jest-reports/TEST-*.xml'
|
||||
}
|
||||
},
|
||||
@@ -114,7 +114,7 @@ node('docker') {
|
||||
releaseRepository: '/repository/releases/',
|
||||
type: 'Configurable'
|
||||
])
|
||||
mvn.deployToNexusRepository("-pl !scm-packaging,!scm-it")
|
||||
mvn.deployToNexusRepository('-pl "!scm-packaging,!scm-it"')
|
||||
|
||||
// deploy frontend bits
|
||||
withCredentials([string(credentialsId: 'cesmarvin_npm_token', variable: 'NPM_TOKEN')]) {
|
||||
|
||||
Reference in New Issue
Block a user