Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-47188

CmakeTool fails with no message when binaries are not available

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Minor Minor
    • cmakebuilder-plugin
    • None
    • Ubuntu 32-bit

      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.

            15knots Martin Weber
            estyrke Emil Styrke
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: