From f739f8e67a8d1d3ad3d86dbf7da31387f55f922f 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 df84e63102..84dc98995d 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}/" ''' }