Skip to content

Commit

Permalink
ci(jenkins): Install latest golang version for Windows (#702)
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v committed Jan 9, 2020
1 parent 14d69c7 commit 4b3f304
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
3 changes: 0 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,6 @@ pipeline {
post {
always {
junit(allowEmptyResults: true, keepLongStdio: true, testResults: "${BASE_DIR}/build/junit-*.xml")
dir("${BASE_DIR}"){
bat script: 'scripts/jenkins/windows/uninstall-tools.bat', label: 'Uninstall tools'
}
cleanWs(disableDeferredWipeout: true, notFailBuild: true)
}
}
Expand Down
5 changes: 4 additions & 1 deletion scripts/jenkins/windows/install-tools.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@
::

choco config set cacheLocation %WORKSPACE%
choco install golang --version %GO_VERSION% -y --no-progress
:: Install latest as long as https://github.com/chocolatey/chocolatey.org/issues/803
:: is not resolved.
:: choco install golang --version %GO_VERSION% -y --no-progress
choco install golang -y --no-progress
5 changes: 0 additions & 5 deletions scripts/jenkins/windows/uninstall-tools.bat

This file was deleted.

0 comments on commit 4b3f304

Please sign in to comment.