Skip to content
Permalink
Browse files
Disable client build
  • Loading branch information
Duncan Grant committed Apr 13, 2021
1 parent 7188f83 commit 5858d3c161808bfb134efd45aeb66d76a1a9a06d
Showing 3 changed files with 4 additions and 4 deletions.
@@ -54,15 +54,15 @@ node(label: 'ubuntu') {

stage('Run tests') {
environmentDockerImage.inside('-i --name brooklyn-${DOCKER_TAG} -v ${WORKSPACE}/.m2:/var/maven/.m2 --mount type=bind,source="${HOME}/.m2/settings.xml",target=/var/maven/.m2/settings.xml,readonly -v ${WORKSPACE}:/usr/build -w /usr/build') {
sh 'MAVEN_OPTS="-Xmx8g -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC" ; mvn clean install -Prpm -Pdeb -Duser.home=/var/maven -Duser.name=jenkins'
sh 'mvn clean install -Prpm -Pdeb -Duser.home=/var/maven -Duser.name=jenkins'
}
}

// Conditional stage to deploy artifacts, when not building a PR
if (env.CHANGE_ID == null) {
stage('Deploy artifacts') {
environmentDockerImage.inside('-i --name brooklyn-${DOCKER_TAG} -v ${WORKSPACE}/.m2:/var/maven/.m2 --mount type=bind,source="${HOME}/.m2/settings.xml",target=/var/maven/.m2/settings.xml,readonly -v ${WORKSPACE}:/usr/build -w /usr/build') {
sh 'MAVEN_OPTS="-Xmx8g -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC" ; mvn deploy -Prpm -Pdeb -Pclient -DskipTests -Duser.home=/var/maven -Duser.name=jenkins'
sh 'mvn deploy -Prpm -Pdeb -DskipTests -Duser.home=/var/maven -Duser.name=jenkins'
}
}
}
@@ -74,7 +74,7 @@

<modules>
<module>brooklyn-server</module>
<!-- <module>brooklyn-ui</module>-->
<module>brooklyn-ui</module>
<module>brooklyn-library</module>
</modules>

0 comments on commit 5858d3c

Please sign in to comment.