jenkins-job-builder/tests/builders/fixtures/shell-unstable-return.xml
Daniel Watkins ba913ea800 Add support for unstable return parameter for shell builders
This continues to support the current string form for job configuration,
as well as adding a form that supports a mapping.  This mapping has two
keys: "command", containing the command to be executed (i.e. the current
string parameter); and "unstable-return", containing the exit code that
configures the exit code that should cause a build to be marked
unstable.

Change-Id: I43ecc883236bbf8fc6de7ed8992e6d90da7d48ac
2017-10-05 14:58:27 -04:00

10 lines
214 B
XML

<?xml version="1.0" encoding="utf-8"?>
<project>
<builders>
<hudson.tasks.Shell>
<command>make test</command>
<unstableReturn>3</unstableReturn>
</hudson.tasks.Shell>
</builders>
</project>