Skip to content

Commit 4dc398e

Browse files
committed
properly disable p2 mirrors
Signed-off-by: Fred Bricon <[email protected]>
1 parent b5e6330 commit 4dc398e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def buildVscodeExtension(){
1515
node('rhel7'){
1616
stage 'Build JDT LS'
1717
git url: 'https://github.com/eclipse/eclipse.jdt.ls.git'
18-
sh "./mvnw clean verify -B -U -e -Pserver-distro -DdisableP2Mirrors=true"
18+
sh "./mvnw clean verify -B -U -e -Pserver-distro -Dtycho.disableP2Mirrors=true"
1919

2020
def files = findFiles(glob: '**/org.eclipse.jdt.ls.product/distro/**.tar.gz')
2121
stash name: 'server_distro', includes :files[0].path
@@ -46,7 +46,7 @@ node('rhel7'){
4646
sh "npm run compile" //compile the test code too
4747
sh "npm test --silent"
4848
}
49-
49+
5050
stage 'Upload vscode-java to staging'
5151
def vsix = findFiles(glob: '**.vsix')
5252
sh "rsync -Pzrlt --rsh=ssh --protocol=28 ${vsix[0].path} ${UPLOAD_LOCATION}/jdt.ls/staging"

0 commit comments

Comments
 (0)