From e7dfd4d75e4ce3c812ed8a40f0945e8d11908709 Mon Sep 17 00:00:00 2001 From: Simon Gardling Date: Mon, 12 Apr 2021 11:58:23 -0400 Subject: [PATCH] Jenkinsfile fix 4 --- Jenkinsfile | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 98e15480..8ab1f1dc 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -74,15 +74,13 @@ pipeline { } } - stage('Archive Jars') { - steps { - archiveArtifacts(artifacts: 'target/*.jar', fingerprint: true) - } - } - post { - always { - cleanWs() - sh 'rm -rf /home/jenkins/workspace/YatopiaMC_Yatopia_ver_1.16.5' + stage('Archive Jars') { + steps { + archiveArtifacts(artifacts: 'target/*.jar', fingerprint: true) + } + post { + always { + cleanWs() } } }