From 8801bea801724e0d7d195fe1e794db35cf9cce32 Mon Sep 17 00:00:00 2001 From: Harrison Deng Date: Mon, 25 Apr 2022 03:56:41 -0500 Subject: [PATCH] Moved cleanup step to be first. --- Jenkinsfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 7ca68fa..a032fb8 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,6 +1,11 @@ pipeline { agent any stages { + stage("cleanup") { + steps { + cleanWs(patterns: [[pattern: '**/bin/Release', type: 'INCLUDE'], [pattern: 'props-linux-x64*', type: 'INCLUDE'], [pattern: 'props-win-x64*', type: 'INCLUDE']]) + } + } stage("Props.Shop") { stages { stage("Restore") { @@ -49,10 +54,5 @@ pipeline { } } } - stage("cleanup") { - steps { - cleanWs(patterns: [[pattern: '**/bin/Release', type: 'INCLUDE'], [pattern: 'props-linux-x64*', type: 'INCLUDE'], [pattern: 'props-win-x64*', type: 'INCLUDE']]) - } - } } } \ No newline at end of file