Skip to content

Commit

Permalink
Jenkinsfile fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
marcos-lg committed May 30, 2024
1 parent 818b0d5 commit a9b3e5e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ pipeline {
configFile(fileId: 'org.jenkinsci.plugins.configfiles.maven.GlobalMavenSettingsConfig1387378707709', variable: 'MAVEN_SETTINGS'),
configFile(fileId: 'org.jenkinsci.plugins.configfiles.custom.CustomConfig1389220396351', variable: 'APPKEYS_TESTFILE')
]) {
sh '''
sh """
mvn -Denforcer.skip=true -s ${MAVEN_SETTINGS} clean package install deploy -T 1C -Dparallel=classes -DuseUnlimitedThreads=true
-Pgbif-dev,registry-cli-it,secrets-dev -U -Dappkeys.testfile=${APPKEYS_TESTFILE}
-B -pl !registry-cli,!registry-ws
'''
"""
}
}
}
Expand All @@ -56,11 +56,11 @@ pipeline {
configFile(fileId: 'org.jenkinsci.plugins.configfiles.maven.GlobalMavenSettingsConfig1387378707709', variable: 'MAVEN_SETTINGS'),
configFile(fileId: 'org.jenkinsci.plugins.configfiles.custom.CustomConfig1389220396351', variable: 'APPKEYS_TESTFILE')
]) {
sh '''
sh """
mvn -s ${MAVEN_SETTINGS} clean package install deploy -T 1C -Dparallel=classes -DuseUnlimitedThreads=true
-Pgbif-dev,registry-cli-it,secrets-dev -U -Dappkeys.testfile=${APPKEYS_TESTFILE}
-B -pl registry-cli,registry-ws
'''
"""
}
}
}
Expand Down Expand Up @@ -101,11 +101,11 @@ pipeline {
[configFile(fileId: 'org.jenkinsci.plugins.configfiles.maven.GlobalMavenSettingsConfig1387378707709', variable: 'MAVEN_SETTINGS'),
configFile(fileId: 'org.jenkinsci.plugins.configfiles.custom.CustomConfig1389220396351', variable: 'APPKEYS_TESTFILE')]) {
git 'https://github.com/gbif/vocabulary.git'
sh '''
sh """
mvn -s $MAVEN_SETTINGS -Dappkeys.testfile=${APPKEYS_TESTFILE} clean package install verify -B
release:prepare release:perform $RELEASE_ARGS -Dparallel=classes -DuseUnlimitedThreads=true
- Pgbif-dev,registry-cli-it,secrets-dev -U -pl !registry-cli,!registry-ws
'''
"""
}
}
}
Expand All @@ -128,11 +128,11 @@ pipeline {
[configFile(fileId: 'org.jenkinsci.plugins.configfiles.maven.GlobalMavenSettingsConfig1387378707709', variable: 'MAVEN_SETTINGS'),
configFile(fileId: 'org.jenkinsci.plugins.configfiles.custom.CustomConfig1389220396351', variable: 'APPKEYS_TESTFILE')]) {
git 'https://github.com/gbif/vocabulary.git'
sh '''
sh """
mvn -s $MAVEN_SETTINGS -Dappkeys.testfile=${APPKEYS_TESTFILE} clean package install verify -B
release:prepare release:perform $RELEASE_ARGS -Dparallel=classes -DuseUnlimitedThreads=true
- Pgbif-dev,registry-cli-it,secrets-dev -U -pl registry-cli,registry-ws
'''
"""
}
}
}
Expand Down

0 comments on commit a9b3e5e

Please sign in to comment.