Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
None
-
cmakebuilder-plugin version 2.0
Description
Latest version of cmakebuilder-plugin tries to extract the cmake-variable 'CMAKE_BUILD_TOOL' from the generated file 'CMakeCache.txt'.
The latest version of cmake v 3.0.2 uses the cache variable 'CMAKE_MAKE_PROGRAM' instead (see http://www.cmake.org/cmake/help/v3.0/variable/CMAKE_MAKE_PROGRAM.html#variable:CMAKE_MAKE_PROGRAM). It does no longer use the old variable name (see http://www.cmake.org/cmake/help/v3.0/variable/CMAKE_BUILD_TOOL.html) and doesn't write the old variable back into the file 'CMakeCache.txt'.
So the build fails, because the plugin cannot extract the old variable from the cache.
Code changed in jenkins
User: 15knots
Path:
src/main/resources/hudson/plugins/cmake/BuildToolStep/config.jelly
src/main/resources/hudson/plugins/cmake/BuildToolStep/help-args.html
src/main/resources/hudson/plugins/cmake/BuildToolStep/help-envVars.html
src/main/resources/hudson/plugins/cmake/BuildToolStep/help-withCmake.html
src/main/resources/hudson/plugins/cmake/CmakeBuilder/config.jelly
src/main/resources/hudson/plugins/cmake/CmakeBuilder/help-generator.html
src/main/resources/hudson/plugins/cmake/CmakeBuilder/help-runTool.html
src/main/resources/hudson/plugins/cmake/CmakeBuilder/help.html
http://jenkins-ci.org/commit/cmakebuilder-plugin/995633bce33e8b934b2eae6781ec179bf220cf41
Log:
JENKINS-29267CMAKE_BUILD_TOOL: added online doc according to solution#1