Skip to content

Commit

Permalink
[FIXUP] Remove work-arounds for git-lfs download
Browse files Browse the repository at this point in the history
  • Loading branch information
HannesWell committed Jan 5, 2024
1 parent c1472f0 commit de2540f
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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'''
Expand Down Expand Up @@ -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') }
}
Expand Down Expand Up @@ -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') }
}
Expand Down

0 comments on commit de2540f

Please sign in to comment.