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

change cmake 3.11.4 to 3.15.5 #17

Merged
merged 1 commit into from
Dec 10, 2019
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
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