jenkins-job-builder/tests/properties/fixtures/copyartifact-multiple.xml
Lucas Dutra Nunes 5548ac51d7 Properties: fix copyartifact permissions with several projects
The copyartifacts property on Jenkins requires that the config XML
provide an string element for each allowed project. On JJB the
documentation says that the projects needed only to be comma-separated,
however JJB is not doing the job separation.

Parsing the projects string, spliting it by commas and then adding it to
a different string element solves this.

Change-Id: I59d8b2c070f28df4cfa9da0ab58f2c57e4243384
Signed-off-by: Lucas Dutra Nunes <ldnunes@ossystems.com.br>
2016-06-28 17:48:53 +00:00

12 lines
352 B
XML

<?xml version="1.0" encoding="utf-8"?>
<project>
<properties>
<hudson.plugins.copyartifact.CopyArtifactPermissionProperty plugin="copyartifact">
<projectNameList>
<string>foo*</string>
<string>bar</string>
</projectNameList>
</hudson.plugins.copyartifact.CopyArtifactPermissionProperty>
</properties>
</project>