getting mvn settings via configFile
Change-Id: I5b943829d56f421ec3f095f00fe7e0cf96b6bcc7
diff --git a/Jenkinsfile b/Jenkinsfile
index 3d3f527..0d8a8a7 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -3,5 +3,7 @@
checkout([$class: 'RepoScm', currentBranch: true, manifestRepositoryUrl: 'https://gerrit.opencord.org/manifest', quiet: true])
stage 'Build and Publish apps'
- sh 'cd onos-apps/apps && mvn clean deploy'
+ configFileProvider([configFile(fileId: 'onoscord-apps', variable: 'MAVEN_SETTINGS')]) {
+ sh 'cd onos-apps/apps && mvn -s $MAVEN_SETTINGS clean deploy'
+ }
}