Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Merge pull request #17 from yajiedesign/cmake
Browse files Browse the repository at this point in the history
change cmake 3.11.4 to 3.15.5 on windows
  • Loading branch information
leezu committed Dec 10, 2019
2 parents 0b4df9c + cf081e5 commit 8a3afac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions services/jenkins-slave-creation-windows/post-install.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,10 +204,10 @@ def main():
git_file_path = download_file('https://github.com/git-for-windows/git/releases/download/v2.18.0.windows.1/Git-2.18.0-64-bit.exe', tmpdir)
run_command("{} /VERYSILENT /NORESTART /NOCANCEL /SP- /CLOSEAPPLICATIONS /RESTARTAPPLICATIONS".format(git_file_path))

# CMAKE 3.11
logging.info("Installing CMAKE 3.11...")
# CMAKE 3.15
logging.info("Installing CMAKE 3.15...")
with tempfile.TemporaryDirectory() as tmpdir:
cmake_file_path = download_file('https://cmake.org/files/v3.11/cmake-3.11.4-win64-x64.msi', tmpdir)
cmake_file_path = download_file('https://cmake.org/files/v3.15/cmake-3.15.5-win64-x64.msi', tmpdir)
run_command("msiexec /i {} /quiet /norestart ADD_CMAKE_TO_PATH=System".format(cmake_file_path))


Expand Down

0 comments on commit 8a3afac

Please sign in to comment.