summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorNorbert Grünwald <sylfan@gmail.com>2018-10-10 14:35:30 +0200
committerThanh Ha <zxiiro@gmail.com>2019-04-09 09:34:19 +0800
commit062b759ee97f8aa327698515226b6fd27128d798 (patch)
tree6092e6250b8b628bd6195e61d9051a1b401c2e2e /tests
parent23079af77770f736ce340eebabfeb4714fa25d89 (diff)
downloadpython-jenkins-job-builder-062b759ee97f8aa327698515226b6fd27128d798.tar.gz
python-jenkins-job-builder-062b759ee97f8aa327698515226b6fd27128d798.tar.xz
python-jenkins-job-builder-062b759ee97f8aa327698515226b6fd27128d798.zip
Add 'publishers-from' to the publishers module
This adds the 'publishers-from' action to the publishers module. It enables the "Use publishers from another project" provided by the "Template Project Plugin". Change-Id: I6fb030a99bccaa79e4f99efe012ff63c6d376a38
Diffstat (limited to 'tests')
-rw-r--r--tests/publishers/fixtures/publishers-from.xml8
-rw-r--r--tests/publishers/fixtures/publishers-from.yaml3
2 files changed, 11 insertions, 0 deletions
diff --git a/tests/publishers/fixtures/publishers-from.xml b/tests/publishers/fixtures/publishers-from.xml
new file mode 100644
index 00000000..2369eb50
--- /dev/null
+++ b/tests/publishers/fixtures/publishers-from.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<project>
+ <publishers>
+ <hudson.plugins.templateproject.ProxyPublisher>
+ <projectName>base-build</projectName>
+ </hudson.plugins.templateproject.ProxyPublisher>
+ </publishers>
+</project>
diff --git a/tests/publishers/fixtures/publishers-from.yaml b/tests/publishers/fixtures/publishers-from.yaml
new file mode 100644
index 00000000..322ba477
--- /dev/null
+++ b/tests/publishers/fixtures/publishers-from.yaml
@@ -0,0 +1,3 @@
+publishers:
+ - publishers-from:
+ project-name: base-build