From de2540fb818b8bf21c1c4af3723acf11e17bbf37 Mon Sep 17 00:00:00 2001 From: Hannes Wellmann Date: Fri, 5 Jan 2024 22:59:04 +0100 Subject: [PATCH] [FIXUP] Remove work-arounds for git-lfs download --- Jenkinsfile | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index d8ce0f5a85..fffac394da 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -74,16 +74,7 @@ pipeline { } stages { stage('Checkout swt git repos') { - environment { - PATH = "${WORKSPACE}/tools/git-lfs:${env.PATH}" // Add git-lfs (installed subsequently) to PATH explicitly until it is available by default - } steps { - dir('tools') { // download git-lfs until it is available by default - sh ''' - curl -L https://github.com/git-lfs/git-lfs/releases/download/v3.4.1/git-lfs-linux-amd64-v3.4.1.tar.gz | tar -xzf - - mv git-lfs-* git-lfs - ''' - } dir('eclipse.platform.swt') { checkout scm script { @@ -110,9 +101,6 @@ pipeline { } } stage('Check if SWT-binaries build is needed') { - environment { - PATH = "${WORKSPACE}/tools/git-lfs:${env.PATH}" // Add git-lfs (installed subsequently) to PATH explicitly until it is available by default - } steps { withAnt(installation: 'apache-ant-latest', jdk: 'openjdk-jdk11-latest') { // nashorn javascript-engine required in ant-scripts sh''' @@ -266,9 +254,6 @@ pipeline { } } stage('Commit SWT-native binaries, if build') { - environment { - PATH = "${WORKSPACE}/tools/git-lfs:${env.PATH}" // Add git-lfs (installed subsequently) to PATH explicitly until it is available by default - } when { expression { return params.forceNativeBuilds || fileExists ('tmp/build_changed.txt') } } @@ -322,9 +307,6 @@ pipeline { } } stage('Push SWT-native binaries, if build') { - environment { - PATH = "${WORKSPACE}/tools/git-lfs:${env.PATH}" // Add git-lfs (installed subsequently) to PATH explicitly until it is available by default - } when { expression { return params.forceNativeBuilds || fileExists ('tmp/build_changed.txt') } }