Status: Resolved (View Workflow)
Resolution: Not A Defect
Master running on linux (docker, jenkins 2.7.1)
Slave running on Windows Server 2012R2
CMake plugin 2.4.3
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.
thanks a bunch for the quick feedback. It was indeed so that the $JENKINS_HOME/updates/ folder had been incorrectly backed up and hence the CmakeInstaller file was not corrupt but in fact missing, which in turn caused the error message.
Supplying the file at the right location fixes the problem.
Thanks again for being so very reactive.
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.
(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?