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 7c46b7e Adds step to publish artifacts to nightlies.a.o 7c46b7e is described below commit 7c46b7ece23f5ea3fce0c475e6f14b794fbfd007 Author: Lukasz Lenart <lukaszlen...@apache.org> AuthorDate: Sun Dec 27 19:51:38 2020 +0100 Adds step to publish artifacts to nightlies.a.o --- Jenkinsfile | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index be834d1..58fa96a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -143,10 +143,30 @@ pipeline { } steps { withCredentials([file(credentialsId: 'lukaszlenart-repository-access-token', variable: 'CUSTOM_SETTINGS')]) { - sh 'mvn -s \${CUSTOM_SETTINGS} deploy -skipAssembly' + sh 'mvn -s \${CUSTOM_SETTINGS} deploy' } } } + stage('Upload nightlies') { + when { + branch 'master' + } + steps { + sshPublisher(publishers: [ + sshPublisherDesc( + configName: 'nightlies.a.o', + transfers: [ + sshTransfer( + remoteDirectory: '/x1/dist/struts', + removePrefix: 'target/assembly/out', + sourceFiles: 'target/assembly/out/struts-*.zip' + ) + ], + verbose: true + ) + ]) + } + } stage('Code Quality') { when { branch 'master'