Skip to content

Commit

Permalink
properly disable p2 mirrors
Browse files Browse the repository at this point in the history
Signed-off-by: Fred Bricon <[email protected]>
  • Loading branch information
fbricon committed Feb 21, 2019
1 parent b5e6330 commit 4dc398e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 4dc398e

Please sign in to comment.