struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lukaszlen...@apache.org
Subject [struts] branch master updated: Wraps clean up with stages
Date Thu, 13 Feb 2020 07:58:33 GMT
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 c352fd0  Wraps clean up with stages
c352fd0 is described below

commit c352fd0072d0468ea9734a3450e20a26ac427bc2
Author: Lukasz Lenart <lukaszlenart@apache.org>
AuthorDate: Thu Feb 13 08:58:27 2020 +0100

    Wraps clean up with stages
---
 Jenkinsfile | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 23bc6f8..6dd61d2 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -16,14 +16,16 @@ pipeline {
     stage('Prepare') {
       agent {
         node('ubuntu') {
-          stage('Clean Up') {
-            steps {
-              cleanWs deleteDirs: true, patterns: [[pattern: '**/target/**', type: 'INCLUDE']]
+          stages {
+            stage('Clean Up') {
+              steps {
+                cleanWs deleteDirs: true, patterns: [[pattern: '**/target/**', type: 'INCLUDE']]
+              }
             }
-          }
-          stage('Checkout') {
-            steps {
-              checkout scm
+            stage('Checkout') {
+              steps {
+                checkout scm
+              }
             }
           }
         }


Mime
View raw message