You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by vo...@apache.org on 2021/02/02 15:09:31 UTC
[myfaces] branch master updated: Fix JenkinsFile
This is an automated email from the ASF dual-hosted git repository.
volosied pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces.git
The following commit(s) were added to refs/heads/master by this push:
new 576529e Fix JenkinsFile
576529e is described below
commit 576529e7f067b8ad51ee961f479bb266e4a00e0d
Author: Volodymyr Siedlecki <vo...@gmail.com>
AuthorDate: Tue Feb 2 10:08:23 2021 -0500
Fix JenkinsFile
---
Jenkinsfile | 60 +++++++++++++++++++++++++++++++-----------------------------
1 file changed, 31 insertions(+), 29 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 73bbf8c..31cdb39 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -32,38 +32,40 @@ pipeline {
pollSCM('@hourly')
}
- stage ('Build and Test - Java 8') {
- options {
- timeout(time: 4, unit: 'HOURS')
- retry(2)
- }
- steps {
- sh 'mvn -V clean verify checkstyle:check apache-rat:check'
- }
- post {
- always {
- junit '**/target/surefire-reports/*.xml'
- deleteDir()
+ stages {
+ stage ('Build and Test - Java 8') {
+ options {
+ timeout(time: 4, unit: 'HOURS')
+ retry(2)
+ }
+ steps {
+ sh 'mvn -V clean verify checkstyle:check apache-rat:check'
+ }
+ post {
+ always {
+ junit '**/target/surefire-reports/*.xml'
+ deleteDir()
+ }
}
}
- }
- stage ('Deploy') {
- options {
- timeout(time: 2, unit: 'HOURS')
- retry(2)
- }
- tools {
- maven "maven_latest"
- jdk "jdk_8_latest"
- }
- steps {
- sh "mvn clean deploy -Pgenerate-assembly"
- }
- post {
- always {
- junit(testResults: '**/surefire-reports/*.xml', allowEmptyResults: true)
- archiveArtifacts '**/target/*.jar'
+ stage ('Deploy') {
+ options {
+ timeout(time: 2, unit: 'HOURS')
+ retry(2)
+ }
+ tools {
+ maven "maven_latest"
+ jdk "jdk_8_latest"
+ }
+ steps {
+ sh "mvn clean deploy -Pgenerate-assembly"
+ }
+ post {
+ always {
+ junit(testResults: '**/surefire-reports/*.xml', allowEmptyResults: true)
+ archiveArtifacts '**/target/*.jar'
+ }
}
}
}