summaryrefslogtreecommitdiffstats
path: root/tests/yamlparser/fixtures/complete001.xml
diff options
context:
space:
mode:
authorThanh Ha <thanh.ha@linuxfoundation.org>2015-01-17 11:45:44 -0500
committerThanh Ha <thanh.ha@linuxfoundation.org>2015-02-03 21:49:57 -0500
commitd7c37c89a810174afb05499a6a0142384cd1bf21 (patch)
treee313693aaa505a38bc3e958f273cf5d6507a8045 /tests/yamlparser/fixtures/complete001.xml
parent09bd39fd64e60274606ca7a3ee8a191991b0acb0 (diff)
downloadpython-jenkins-job-builder-d7c37c89a810174afb05499a6a0142384cd1bf21.tar.gz
python-jenkins-job-builder-d7c37c89a810174afb05499a6a0142384cd1bf21.tar.xz
python-jenkins-job-builder-d7c37c89a810174afb05499a6a0142384cd1bf21.zip
Update SCM Wipe workspace to use extensions style
Use the newer extensions style configuration for the SCM Wipe workspace option. This change simply changes the output style of this configuration leaving the original YAML configuration values in tact so it is backwards compatible with the old style configuration for wipe-workspace setting. While this patch still sets the old <wipeOutWorkspace> value long with the new extensions value. Jenkins appears to be happy with both values present and prefers the extensions format if it exists. This should allow the older Jenkins that only supports the older config format to continue to work. Change-Id: Ib5b1809d19a35f83f524ee84b18f0c58b851c70b Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Diffstat (limited to 'tests/yamlparser/fixtures/complete001.xml')
-rw-r--r--tests/yamlparser/fixtures/complete001.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/yamlparser/fixtures/complete001.xml b/tests/yamlparser/fixtures/complete001.xml
index 6fe64b89..fd10bed8 100644
--- a/tests/yamlparser/fixtures/complete001.xml
+++ b/tests/yamlparser/fixtures/complete001.xml
@@ -42,7 +42,9 @@
<scmName/>
<useShallowClone>false</useShallowClone>
<ignoreNotifyCommit>false</ignoreNotifyCommit>
- <extensions/>
+ <extensions>
+ <hudson.plugins.git.extensions.impl.WipeWorkspace/>
+ </extensions>
<browser class="hudson.plugins.git.browser.GitWeb">
<url>http://review.openstack.org/gitweb?p=openstack-infra/jenkins-job-builder.git</url>
</browser>