This is an automated email from the ASF dual-hosted git repository.
drazzib pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/gora.git
The following commit(s) were added to refs/heads/master by this push:
new 97c6b43 Add deploy step
97c6b43 is described below
commit 97c6b4336117ce33a08a7c16dc26a67930f51bcb
Author: Damien Raude-Morvan <[email protected]>
AuthorDate: Fri Apr 2 22:23:22 2021 +0200
Add deploy step
---
Jenkinsfile | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/Jenkinsfile b/Jenkinsfile
index cbae42f..0f87c5c 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -90,5 +90,14 @@ pipeline {
}
}
}
+
+ stage('Deploy snapshots') {
+ when {
+ branch 'master'
+ }
+ steps {
+ sh "mvn $MAVEN_CLI_OPTS -P deploy-snapshots -DskipTests deploy"
+ }
+ }
}
}