Uses dedicated settings.xml to upload artifacts to Nexus

This commit is contained in:
Lukasz Lenart
2020-02-17 20:38:33 +01:00
parent 91da594842
commit f4e64bc999
Vendored
+1 -1
View File
@@ -142,7 +142,7 @@ pipeline {
branch 'master' branch 'master'
} }
steps { steps {
withCredentials([file(credentialsId: 'struts-custom-settings_xml', variable: 'CUSTOM_SETTINGS')]) { withCredentials([file(credentialsId: 'lukaszlenart-repository-access-token', variable: 'CUSTOM_SETTINGS')]) {
sh 'mvn -s \${CUSTOM_SETTINGS} deploy -skipAssembly' sh 'mvn -s \${CUSTOM_SETTINGS} deploy -skipAssembly'
} }
} }