12c2ca3396
- Added failOnError argument for pre-scm-buildstep - Introduced buildsteps argument and moved list of build steps to match xml configuration of the preSCMbuildstep plugin. - Updated existing test cases to match the new argument structure - Added test case for pre-scm-buildstep to verify creation of failOnError tag - Added verification on version to maintain retro-compatibility - Updated documentation to fetch example from testcase definition Change-Id: I25c19cd0552cf2de97b9c391492d95779c1360be Task: 3163 Story: 2000690
31 lines
957 B
XML
31 lines
957 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<project>
|
|
<buildWrappers>
|
|
<org.jenkinsci.plugins.preSCMbuildstep.PreSCMBuildStepsWrapper>
|
|
<buildSteps>
|
|
<hudson.tasks.Shell>
|
|
<command>#!/bin/bash
|
|
echo "Doing something cool"
|
|
</command>
|
|
</hudson.tasks.Shell>
|
|
<hudson.tasks.Shell>
|
|
<command>#!/bin/zsh
|
|
echo "Doing something cool with zsh"
|
|
</command>
|
|
</hudson.tasks.Shell>
|
|
<hudson.tasks.Ant>
|
|
<targets>target1 target2</targets>
|
|
<antName>default</antName>
|
|
</hudson.tasks.Ant>
|
|
<EnvInjectBuilder>
|
|
<info>
|
|
<propertiesFilePath>example.prop</propertiesFilePath>
|
|
<propertiesContent>EXAMPLE=foo-bar</propertiesContent>
|
|
</info>
|
|
</EnvInjectBuilder>
|
|
</buildSteps>
|
|
<failOnError>true</failOnError>
|
|
</org.jenkinsci.plugins.preSCMbuildstep.PreSCMBuildStepsWrapper>
|
|
</buildWrappers>
|
|
</project>
|