Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions NativeImage.jenkins
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,10 @@ pipeline {
label "win10"
}
steps {
powershell "if (Test-Path lemminx-win32.exe) { Remove-Item lemminx-win32.exe }"
powershell "Remove-Item -Recurse -Force lemminx"
powershell """
if (Test-Path lemminx-win32.exe) { Remove-Item lemminx-win32.exe }
Remove-Item -Recurse -Force lemminx
"""
script {
if (publishToMarketPlace.equals('true')) {
powershell """
Expand All @@ -49,13 +51,11 @@ pipeline {
def packageJson = readJSON file: 'package.json'
def lemminxVersion = packageJson?.xmlServer?.version
powershell """
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
git clone -b ${lemminxVersion} https://github.com/eclipse/lemminx.git
git clone -b ${lemminxVersion} git@github.com:eclipse/lemminx.git
"""
} else {
powershell """
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
git clone https://github.com/eclipse/lemminx.git
git clone git@github.com:eclipse/lemminx.git
"""
}
}
Expand Down