Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

Commit

Permalink
[#138] Removed duplicate settings.xml provisioning
Browse files Browse the repository at this point in the history
The config file id for settings.xml was invalid. Since the settings.xml
is already provided by volume mount in the pod configuration, additional
provisioning was obsolete anyway.

Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
  • Loading branch information
Karsten Thoms committed Jun 26, 2019
1 parent 46895ed commit 2a5981e
Showing 1 changed file with 10 additions and 14 deletions.
24 changes: 10 additions & 14 deletions CBI.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -115,20 +115,16 @@ spec:

stage('Maven Build') {
steps {
configFileProvider(
[configFile(fileId: '7a78c736-d3f8-45e0-8e69-bf07c27b97ff', variable: 'MAVEN_SETTINGS')]) {
sh '''
mvn \
-s $MAVEN_SETTINGS \
-f releng \
--batch-mode \
--update-snapshots \
-fae \
-Dmaven.repo.local=$WORKSPACE/.m2/repository \
-Dtycho.disableP2Mirrors=true \
clean install
'''
}
sh '''
mvn \
-f releng \
--batch-mode \
--update-snapshots \
-fae \
-Dmaven.repo.local=$WORKSPACE/.m2/repository \
-Dtycho.disableP2Mirrors=true \
clean install
'''
}
}
}
Expand Down

0 comments on commit 2a5981e

Please sign in to comment.