Skip to content

Commit

Permalink
Explicitly enable develocity extensions in pipeline only
Browse files Browse the repository at this point in the history
  • Loading branch information
pzygielo committed Jan 23, 2025
1 parent 89fd2f8 commit b011766
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
File renamed without changes.
4 changes: 4 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ def generateAntPodTemplate(job) {
withAnt(installation: 'apache-ant-latest') {
dumpSysInfo()
withVault([vaultSecrets: secrets]) {
sh 'cp .mvn/develocity-extensions.xml .mvn/extensions.xml || true'
sh """
mkdir -p ${WORKSPACE}/appserver/tests
tar -xzf ${WORKSPACE}/bundles/appserv_tests.tar.gz -C ${WORKSPACE}/appserver/tests
Expand Down Expand Up @@ -201,6 +202,7 @@ spec:
container('maven') {
dumpSysInfo()
withVault([vaultSecrets: secrets]) {
sh 'cp .mvn/develocity-extensions.xml .mvn/extensions.xml || true'
sh '''
# Validate the structure in all submodules (especially version ids)
mvn -B -e -fae clean validate -Ptck,set-version-id,staging
Expand All @@ -227,6 +229,7 @@ spec:
dumpSysInfo()
timeout(time: 1, unit: 'HOURS') {
withVault([vaultSecrets: secrets]) {
sh 'cp .mvn/develocity-extensions.xml .mvn/extensions.xml || true'
sh '''
mvn -B -e clean install -Pstaging,qa
'''
Expand Down Expand Up @@ -264,6 +267,7 @@ spec:
dumpSysInfo()
timeout(time: 1, unit: 'HOURS') {
withVault([vaultSecrets: secrets]) {
sh 'cp .mvn/develocity-extensions.xml .mvn/extensions.xml || true'
sh '''
mvn -B -e clean install -Pstaging -f docs -amd
'''
Expand Down

0 comments on commit b011766

Please sign in to comment.