From ea4d2b43066761128a9b752452f81ce78ba080e4 Mon Sep 17 00:00:00 2001 From: Jason Rivers Date: Wed, 30 Aug 2023 10:28:19 +0100 Subject: [PATCH] Clean directories before unstashing for notarize --- Jenkinsfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 585a075d..c2b2f5c5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -85,6 +85,8 @@ pipeline { label 'notarytool' } steps { + sh 'rm -Rf ship' + sh 'rm -Rf _' unstash 'ride-version' unstash 'mac-ship' withCredentials([usernamePassword(credentialsId: '868dda6c-aaec-4ee4-845a-57362dec695b', passwordVariable: 'APPLE_APP_PASS', usernameVariable: 'APPLE_ID')]) {