5579395bc3
Updates the PostBuildScript plugin to support the 2.x version which had a major overhaul of the XML output for the plugin. Change-Id: I9ff3161bc50be236013e32f3ca9ad81b38004dc8 Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
44 lines
1.9 KiB
XML
44 lines
1.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<project>
|
|
<publishers>
|
|
<org.jenkinsci.plugins.postbuildscript.PostBuildScript>
|
|
<markBuildUnstable>true</markBuildUnstable>
|
|
<buildSteps>
|
|
<hudson.tasks.Shell>
|
|
<command>echo "Shell execution should be first"</command>
|
|
</hudson.tasks.Shell>
|
|
<hudson.tasks.Ant>
|
|
<targets>ant_target</targets>
|
|
<antName>default</antName>
|
|
</hudson.tasks.Ant>
|
|
</buildSteps>
|
|
<groovyScriptContentList>
|
|
<org.jenkinsci.plugins.postbuildscript.GroovyScriptContent>
|
|
<content>/** This is some inlined groovy */</content>
|
|
</org.jenkinsci.plugins.postbuildscript.GroovyScriptContent>
|
|
<org.jenkinsci.plugins.postbuildscript.GroovyScriptContent>
|
|
<content>/** Some more inlined groovy */</content>
|
|
</org.jenkinsci.plugins.postbuildscript.GroovyScriptContent>
|
|
</groovyScriptContentList>
|
|
<genericScriptFileList>
|
|
<org.jenkinsci.plugins.postbuildscript.GenericScript>
|
|
<filePath>/tmp/one.sh</filePath>
|
|
</org.jenkinsci.plugins.postbuildscript.GenericScript>
|
|
<org.jenkinsci.plugins.postbuildscript.GenericScript>
|
|
<filePath>/tmp/two.sh</filePath>
|
|
</org.jenkinsci.plugins.postbuildscript.GenericScript>
|
|
</genericScriptFileList>
|
|
<groovyScriptFileList>
|
|
<org.jenkinsci.plugins.postbuildscript.GroovyScriptFile>
|
|
<filePath>/tmp/one.groovy</filePath>
|
|
</org.jenkinsci.plugins.postbuildscript.GroovyScriptFile>
|
|
<org.jenkinsci.plugins.postbuildscript.GroovyScriptFile>
|
|
<filePath>/tmp/two.groovy</filePath>
|
|
</org.jenkinsci.plugins.postbuildscript.GroovyScriptFile>
|
|
</groovyScriptFileList>
|
|
<scriptOnlyIfSuccess>false</scriptOnlyIfSuccess>
|
|
<scriptOnlyIfFailure>true</scriptOnlyIfFailure>
|
|
</org.jenkinsci.plugins.postbuildscript.PostBuildScript>
|
|
</publishers>
|
|
</project>
|