From 4dc398e112bedd4c2ad6883eeef66d8c282a7e7b Mon Sep 17 00:00:00 2001 From: Fred Bricon Date: Wed, 20 Feb 2019 20:13:04 -0500 Subject: [PATCH] properly disable p2 mirrors Signed-off-by: Fred Bricon --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index c30c9159b..1143ee663 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -15,7 +15,7 @@ def buildVscodeExtension(){ node('rhel7'){ stage 'Build JDT LS' git url: 'https://github.com/eclipse/eclipse.jdt.ls.git' - sh "./mvnw clean verify -B -U -e -Pserver-distro -DdisableP2Mirrors=true" + sh "./mvnw clean verify -B -U -e -Pserver-distro -Dtycho.disableP2Mirrors=true" def files = findFiles(glob: '**/org.eclipse.jdt.ls.product/distro/**.tar.gz') stash name: 'server_distro', includes :files[0].path @@ -46,7 +46,7 @@ node('rhel7'){ sh "npm run compile" //compile the test code too sh "npm test --silent" } - + stage 'Upload vscode-java to staging' def vsix = findFiles(glob: '**.vsix') sh "rsync -Pzrlt --rsh=ssh --protocol=28 ${vsix[0].path} ${UPLOAD_LOCATION}/jdt.ls/staging"