This plugin oversees the launch of CMake based builds.
It provides a user interface for configuring the following parameters of a build step
- CMake Buildscript Generator
- Source directory
- Build directory
- CMake Build Type - Debug/Release/...
- Cache file - to prepopulate cmake variables
- Clean/Incremental build - to clean the build directory prior to buildscript generation
- Pass arbitrary command-line arguments to cmake.
To perform the actual build, it can detect the actual build tool corresponding to the CMake Generator and
- Can run the actual build tool as a sub-build step
- Supports to run the build tool from an extra
execute-shell
\ececute-batch
build step (in case auto detection fails).
To ease the pain of provisioning Jenkins worker nodes, it can
- download a recent version of cmake on demand from cmake.org and use that exclusively for the build. Jenkins admins may configure the per-build-step-selectable CMake versions on the Jenkins` global configuration page. (Thanks to cmake.org for constantly providing portable/relocatable binaries for public download.)
Issues are tracked at the Jenkins issue Tracker.
- Chinese localization is maintained in https://github.com/jenkinsci/localization-zh-cn-plugin.