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: Adds node to cleans up WS
Date Thu, 13 Feb 2020 07:56:55 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 e0fc626  Adds node to cleans up WS
e0fc626 is described below

commit e0fc6261d5dc2d07a8c8bf9411a356141e7dd28d
Author: Lukasz Lenart <lukaszlenart@apache.org>
AuthorDate: Thu Feb 13 08:56:49 2020 +0100

    Adds node to cleans up WS
---
 Jenkinsfile | 19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 4adaf1a..23bc6f8 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -15,17 +15,16 @@ pipeline {
   stages {
     stage('Prepare') {
       agent {
-        label 'ubuntu'
-      }
-      stages {
-        stage('Clean Up') {
-          steps {
-            cleanWs deleteDirs: true, patterns: [[pattern: '**/target/**', type: 'INCLUDE']]
+        node('ubuntu') {
+          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