Status: Resolved (View Workflow)
When using a cmake tool with automatic installation of version (for example) 3.7.2, this fails on a 32-bit linux node without any message. The usage is in a Jenkinsfile like this:
def cmake = tool name: 'cmake-3.7', type: 'hudson.plugins.cmake.CmakeTool'
After some debugging I realized that the likely cause for this is that CMake binaries aren't built for 32-bit linux since version 3.7, so likely the url is not found (the above command works just fine if I select version 3.6 or older). However, it would be nice to get some diagnostic for this, preferably in the pipeline step console, but just anything at all in the node log or system log would also have been helpful.
This plugin has not been made pipeline-compatible yet and has not been tested with pipeleine.
When used in a freestyle project, it would complain in the build log when cmake is downloaded and if no version of cmake is known for the CPU-archictecture the node is running on:
When cmake is downloaded, it wiil print an message in the build log:
However, these messages should also appear in the build log of a pippeline project.
If you force re-installation (by deleting the <jenkins home>/tools/hudson.plugins.cmake.CmakeTool/3.7.2 directory on your build node), do these messages show up in the log?