Release build wrapper does not allow multiple steps
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Core Infrastructure |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
A release build wrapper with multiple shell commands generates invalid XML. I have a patch (attached) but I am having trouble signing the contributor agreement to get a review started. There is also a branch available at https:/
The simplest example that I could come up with is:
---
- job:
name: test
wrappers:
- release:
- shell: first-command
- shell: second-command
The current utility generates the following:
<?xml version="1.0" encoding="utf-8"?>
<project>
<actions/>
<description>
<keepDependen
<blockBuildWh
<blockBuildWh
<concurrentBu
<canRoam>
<properties/>
<scm class="
<builders/>
<publishers/>
<buildWrappers>
<hudson.
<
<
<
<
<
<
<
</hudson.
</buildWrappers>
</project>
Note that multiple <postSuccessful
<?xml version="1.0" encoding="utf-8"?>
<project>
<actions/>
<description>
<keepDependen
<blockBuildWh
<blockBuildWh
<concurrentBu
<canRoam>
<properties/>
<scm class="
<builders/>
<publishers/>
<buildWrappers>
<hudson.
<
<
<
<
<
</hudson.
</buildWrappers>
</project>
Dave, I'd love to help you through the new contributor steps at https:/ /wiki.openstack .org/wiki/ How_To_ Contribute# If_you. 27re_a_ developer so that you can have contributor credit toward this patch (and also so that we might abuse you toward fixing anything else you find wrong with JJB!). If you have a moment to pop into the #openstack-infra channel on the Freenode IRC network or explain here or in a post to the <email address hidden> mailing list, we're all more than happy to assist. Also, thanks for the bug report and patch!