You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2020/02/08 16:16:30 UTC
[struts] branch master updated: Lists settings.xml
This is an automated email from the ASF dual-hosted git repository.
lukaszlenart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/struts.git
The following commit(s) were added to refs/heads/master by this push:
new 8e11db9 Lists settings.xml
8e11db9 is described below
commit 8e11db98e06b265b32b2593f851e993cfe94edb5
Author: Lukasz Lenart <lu...@apache.org>
AuthorDate: Sat Feb 8 17:16:21 2020 +0100
Lists settings.xml
---
Jenkinsfile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Jenkinsfile b/Jenkinsfile
index 17419ca..ff8af30 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -24,6 +24,7 @@ pipeline {
stage('Test') {
steps {
sh 'mvn -B test'
+ step([$class: 'JiraIssueUpdater', issueSelector: [$class: 'DefaultIssueSelector'], scm: scm])
}
post {
always {
@@ -45,6 +46,7 @@ pipeline {
}
steps {
withCredentials([usernamePassword(credentialsId: 'lukaszlenart-access-token-repository', passwordVariable: 'REPO_PASSWORD', usernameVariable: 'REPO_USERNAME')]) {
+ sh 'cat /root/.m2/settings.xml'
sh 'mvn -B deploy -Dusername=\${REPO_USERNAME} -Dpassword=\${REPO_PASSWORD}'
}
}