Details
-
Bug
-
Status: Resolved (View Workflow)
-
Minor
-
Resolution: Not A Defect
-
None
-
Master running on linux (docker, jenkins 2.7.1)
Slave running on Windows Server 2012R2
CMake plugin 2.4.3
Description
I did a test upgrade for my server from jenkins 1.651.2 to 2.7.1. The slaves are auto-connecting swarm slaves, their configuration hasn't changed.
After upgrading, all cmake build projects fail with the following:
ERROR: Install from cmake.org [CMake 3.4.1]: No cmake download known for OS `Windows Server 2012 R2` and arch `amd64`.
I believe this shouldn't happen, for the following reasons:
- the auto-download worked fine with Jenkins 1.6
- the slaves in question still have cmake 3.4.1 installed (from previous builds)
- Windows Server 2012R2 qualifies as Windows OS in https://github.com/jenkinsci/cmakebuilder-plugin/blob/master/src/main/java/hudson/plugins/cmake/CmakeInstaller.java#L373
Any idea what might be going wrong or how to fix this would be appreciated.
I just tested to migrate to Jenkins 2.7.1 and cannot reproduce it.
Cmake gets downloaded and installed to
on the slave. That location did not change in 2.7.1, so something must have deleted it, causing the new download.
Maybe file
(on the master) is corrupted and makes the download fail? It should contain the text "https://cmake.org/files/v3.4/cmake-3.4.1-win32-x86.zip".
What does the Jenkins log say?