File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 5959 container(' container' ) {
6060 withCredentials([string(credentialsId : " ${ GITHUB_API_CREDENTIALS_ID} " , variable : ' GITHUB_API_TOKEN' )]) {
6161 wrap([$class : ' Xvnc' , useXauthority : true ]) {
62- sh ' mvn clean verify -B -fae -Dtycho.disableP2Mirrors=true -Ddownload.cache.skip=true -Dmaven.test.error.ignore=true -Dmaven.test.failure.ignore=true -PpackAndSign -Dmaven.repo.local=$WORKSPACE/.m2/repository -Dgithub.api.token="${GITHUB_API_TOKEN}"'
62+ sh """ mvn clean verify -B -fae -Dtycho.disableP2Mirrors=true -Ddownload.cache.skip=true -Dmaven.test.error.ignore=true -Dmaven.test.failure.ignore=true ${ env.BRANCH_NAME=='master' ? '-Psign': '' } -Dmaven.repo.local=$WORKSPACE /.m2/repository -Dgithub.api.token="${ GITHUB_API_TOKEN} " """
6363 }
6464 }
6565 }
Original file line number Diff line number Diff line change 191191
192192 <profiles >
193193 <profile >
194- <id >packAndSign </id >
194+ <id >sign </id >
195195 <build >
196196 <plugins >
197197 <plugin >
You can’t perform that action at this time.
0 commit comments