From eea222c667b1e42de2c0645c8ca62456946e5336 Mon Sep 17 00:00:00 2001 From: Andrey Loskutov Date: Mon, 11 Mar 2024 14:23:39 +0100 Subject: [PATCH] Remove all existing native *swt* libraries before copying new If make_common.mak changes, code in 'Check if SWT-binaries build is needed' stage, that is supposed to delete native libraries, simply doesn't delete anything as it relies on getSWTVersions() that reads (changed) versions. Instead, try to delete every *swt* library file stored in git before copying freshly compiled ones during 'Collect and sign binaries' stage. Fixes https://github.com/eclipse-platform/eclipse.platform.swt/issues/1095 --- Jenkinsfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Jenkinsfile b/Jenkinsfile index c27c916f4e..673cceb19a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -263,6 +263,7 @@ pipeline { done fi fi + rm "${WORKSPACE}/eclipse.platform.swt/binaries/org.eclipse.swt.${PLATFORM}/*swt*.$binariesExtension" cp *.$binariesExtension "${WORKSPACE}/eclipse.platform.swt/binaries/org.eclipse.swt.${PLATFORM}/" ''' }