You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2020/02/13 08:05:34 UTC
[struts] branch master updated: Makes cleanup & checkout another
stage
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 <lu...@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
}
}
}