From cf081e5747d64bcaf75249f09379581ed5ca9444 Mon Sep 17 00:00:00 2001 From: yajiedesign Date: Tue, 10 Dec 2019 09:11:00 +0800 Subject: [PATCH] change cmake 3.11.4 to 3.15.5 --- services/jenkins-slave-creation-windows/post-install.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/services/jenkins-slave-creation-windows/post-install.py b/services/jenkins-slave-creation-windows/post-install.py index f6d3dad..e774362 100644 --- a/services/jenkins-slave-creation-windows/post-install.py +++ b/services/jenkins-slave-creation-windows/post-install.py @@ -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))