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: Makes cleanup & checkout another stage
Date Thu, 13 Feb 2020 08:05:34 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 6430e3c  Makes cleanup & checkout another stage
6430e3c is described below

commit 6430e3c4f1972627db0320cccf285dacd2ecc02e
Author: Lukasz Lenart <lukaszlenart@apache.org>
AuthorDate: Thu Feb 13 09:05:28 2020 +0100

    Makes cleanup & checkout another stage
---
 Jenkinsfile | 24 +++++++++++-------------
 1 file changed, 11 insertions(+), 13 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index bd340c7..a57b904 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -15,19 +15,17 @@ pipeline {
   stages {
     stage('Prepare') {
       agent {
-        node {
-          label 'ubuntu'
-          stages {
-            stage('Clean Up') {
-              steps {
-                cleanWs deleteDirs: true, patterns: [[pattern: '**/target/**', type: 'INCLUDE']]
-              }
-            }
-            stage('Checkout') {
-              steps {
-                checkout scm
-              }
-            }
+        label 'ubuntu'
+      }
+      stages {
+        stage('Clean up') {
+          steps {
+            cleanWs deleteDirs: true, patterns: [[pattern: '**/target/**', type: 'INCLUDE']
+          }
+        }
+        stage('Checkout') {
+          steps {
+            checkout scm
           }
         }
       }


Mime
View raw message