You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2020/08/26 13:14:38 UTC
[myfaces-tobago] branch master updated: Try to make deploy
independent from n builds.
This is an automated email from the ASF dual-hosted git repository.
lofwyr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git
The following commit(s) were added to refs/heads/master by this push:
new 51c6747 Try to make deploy independent from n builds.
51c6747 is described below
commit 51c6747c303abddec23d5c7026bee906b53dfe3c
Author: Udo Schnurpfeil <ud...@irian.eu>
AuthorDate: Wed Aug 26 15:14:25 2020 +0200
Try to make deploy independent from n builds.
---
Jenkinsfile | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 23315d0..3c7e42c 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -55,8 +55,7 @@ pipeline {
stages {
stage('BuildAndTest') {
steps {
- sh "mvn -version"
- sh "mvn clean deploy checkstyle:check apache-rat:check animal-sniffer:check dependency-check:check -Pgenerate-assembly -Ptomcat"
+ sh "mvn clean package checkstyle:check apache-rat:check animal-sniffer:check dependency-check:check -Pgenerate-assembly"
}
post {
always {
@@ -69,6 +68,15 @@ pipeline {
}
}
}
+ stage('Deploy') {
+ tools {
+ maven "Maven (latest)"
+ jdk "JDK 11 (latest)"
+ }
+ steps {
+ sh "mvn clean deploy -Pgenerate-assembly -Ptomcat"
+ }
+ }
}
post {
// If this build failed, send an email to the list.