jenkins-job-builder/tests/builders/fixtures/cmake-complete.yaml
Lucas Dutra Nunes 7cb821e166 builders: add cmakebuilder plugin support
The cmakebuilder plugin is used to configure CMake builds to Jenkins,
being able to set several directories and variables related to CMake.

All the possible configurations for the plugin can be set with this
builder. Also included on this change are the documentation and two test
cases, one for common usage types and another more complete.

More information about the plugin can be found at:
https://wiki.jenkins-ci.org/display/JENKINS/cmakebuilder+Plugin

Change-Id: I3f62515d7dc2d3b6e5726ebe06c53e72de5cde90
Signed-off-by: Lucas Dutra Nunes <ldnunes@ossystems.com.br>
2015-01-27 17:43:37 -02:00

15 lines
503 B
YAML

builders:
- cmake:
source-dir: 'path/to/source'
build-dir: 'path/to/build'
install-dir: 'path/to/install'
build-type: 'CustomReleaseType'
generator: 'NMake Makefiles'
make-command: '/usr/bin/make'
install-command: 'make new-install'
preload-script: 'path/to/source/cmake.preload'
other-arguments: '-DCMAKE_FIND_ROOT_PATH="path/to/something/else"'
custom-cmake-path: '/usr/bin/cmake'
clean-build-dir: true
clean-install-dir: true