jenkins-job-builder/tests/general/fixtures/project-maven004.yaml
Thanh Ha 5cdbb719af
Fix CFP configuration for >=2.10.0
In CFP plugin version >=2.10.0 the JJB code completely breaks for Maven
settings due to the new support for freeform cfp id names. We can detect
a old style name simply by reading the starting of the name and setting
it to set settings_type=cfp to maintain support for the old versions of
this plugin. Otherwise the default settings_type will fall back to 'file'.

Users using cfp will now need to set 'settings-type: cfp' in their YAML
files if they need to pull in CFP settings. All other settings file
configuration will work as it did in the past.

Change-Id: I650d485de6ecc1d2ef8fad6580c0c315fadde168
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
2016-04-22 09:08:59 -04:00

10 lines
213 B
YAML

project-type: maven
maven:
root-pom: pom.xml
goals: deploy
settings: test-settings
settings-type: cfp
global-settings: test-global-settings
global-settings-type: cfp
post-step-run-condition: SUCCESS