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

cmakebuilder should allow cmake scripting

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      it would be desirable for full cross-platform scripting of bigger cmake-projects to be able to run cmake scripts (cmake -P <script file>).

      This is not possible at the moment as the plugin fails the build if it doesn't find a CMakeCache,txt, so even though the script file specified with a -P command-line option runs properly, the build will always fail.

      Even though it would be possible to launch cmake via a shell command, this is not desirable as it requires cmake to be in the PATH of the build slave, creating conflicts as soon as multiple cmake installation are present. I believe it would be advantageous if the CMake tool configuration could be reused for this.

        Attachments

          Activity

          Hide
          15knots Martin Weber added a comment -

          Thanks for reporting the cmakeArgs/toolArgs issue.
          This is serious, as it causes existing buildsteps to forget part of their configuration.
          I´ll prepare a fix ASAP.

          Show
          15knots Martin Weber added a comment - Thanks for reporting the cmakeArgs/toolArgs issue. This is serious, as it causes existing buildsteps to forget part of their configuration. I´ll prepare a fix ASAP.
          Hide
          15knots Martin Weber added a comment -

          Existing build steps will loose their cmake-argument and working dir settings.

          Show
          15knots Martin Weber added a comment - Existing build steps will loose their cmake-argument and working dir settings.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: 15knots
          Path:
          src/main/java/hudson/plugins/cmake/AbstractCmakeBuilder.java
          src/main/java/hudson/plugins/cmake/CmakeBuilder.java
          http://jenkins-ci.org/commit/cmakebuilder-plugin/7d548881b1b7b91c61b9dfd4b61ebfb5bd23ccb5
          Log:
          FIXED JENKINS-32657: (Reopened) Existing build steps will loose their
          cmake-argument and working directory settings.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: 15knots Path: src/main/java/hudson/plugins/cmake/AbstractCmakeBuilder.java src/main/java/hudson/plugins/cmake/CmakeBuilder.java http://jenkins-ci.org/commit/cmakebuilder-plugin/7d548881b1b7b91c61b9dfd4b61ebfb5bd23ccb5 Log: FIXED JENKINS-32657 : (Reopened) Existing build steps will loose their cmake-argument and working directory settings.
          Hide
          jorgziegler Jörg Ziegler added a comment -

          thanks for the quick fix. Now that I had already renamed the tags manually, is it safe to upgrade to 2.4.1?

          Show
          jorgziegler Jörg Ziegler added a comment - thanks for the quick fix. Now that I had already renamed the tags manually, is it safe to upgrade to 2.4.1?
          Hide
          15knots Martin Weber added a comment -

          It is safe.
          The fix in 2.4.1 just renames the tags, nothing more

          Show
          15knots Martin Weber added a comment - It is safe. The fix in 2.4.1 just renames the tags, nothing more

            People

            • Assignee:
              15knots Martin Weber
              Reporter:
              jorgziegler Jörg Ziegler
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: