26c79aa9f5
Note: this is a port of the patch from commit 1e216835
https://review.openstack.org/gitweb?p=openstack-infra/jenkins-job-builder.git;a=commit;h=1e216835
This patch adds some detection logic to the code to detect if the
settings file starts with:
org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig
or in the case of global-settings starts with:
org.jenkinsci.plugins.configfiles.maven.GlobalMavenSettingsConfig
If true, the module will configure for Config File Provider as the
settings files.
See:
https://wiki.jenkins-ci.org/display/JENKINS/Config+File+Provider+Plugin
Change-Id: Ic7f4d4d676e67f5f96afc3bd412dea5a50bee79b
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
19 lines
784 B
XML
19 lines
784 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<project>
|
|
<postbuilders>
|
|
<hudson.tasks.Maven>
|
|
<targets>clean verify</targets>
|
|
<properties/>
|
|
<mavenName>mvn30</mavenName>
|
|
<usePrivateRepository>false</usePrivateRepository>
|
|
<settings class="org.jenkinsci.plugins.configfiles.maven.job.MvnSettingsProvider">
|
|
<settingsConfigId>org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig0123456789012</settingsConfigId>
|
|
</settings>
|
|
<globalSettings class="org.jenkinsci.plugins.configfiles.maven.job.MvnGlobalSettingsProvider">
|
|
<settingsConfigId>org.jenkinsci.plugins.configfiles.maven.GlobalMavenSettingsConfig0123456789012</settingsConfigId>
|
|
</globalSettings>
|
|
</hudson.tasks.Maven>
|
|
</postbuilders>
|
|
<builders/>
|
|
</project>
|