3cf741985f
Change-Id: Iae70789ba5948eb1ea259b6456dd0ba262c4eee3
46 lines
1.2 KiB
XML
46 lines
1.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<project>
|
|
<actions/>
|
|
<description><!-- Managed by Jenkins Job Builder --></description>
|
|
<keepDependencies>false</keepDependencies>
|
|
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
|
|
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
|
|
<concurrentBuild>false</concurrentBuild>
|
|
<canRoam>true</canRoam>
|
|
<properties/>
|
|
<scm class="hudson.scm.NullSCM"/>
|
|
<builders>
|
|
<hudson.tasks.Shell>
|
|
<command>#!/bin/bash
|
|
#
|
|
# Sample script showing how the yaml include-raw-escape tag can be used
|
|
# to inline scripts that are maintained outside of the jenkins
|
|
# job yaml configuration.
|
|
|
|
echo "hello world"
|
|
|
|
exit 0
|
|
</command>
|
|
</hudson.tasks.Shell>
|
|
<hudson.tasks.Shell>
|
|
<command>#!/bin/bash
|
|
#
|
|
# sample script to check that brackets aren't expanded
|
|
# when using the include-raw-escape application yaml tag
|
|
|
|
VAR1="hello"
|
|
VAR2="world"
|
|
VAR3="${VAR1} ${VAR2}"
|
|
|
|
[[ -n "${VAR3}" ]] && {
|
|
# this next section is executed as one
|
|
echo "${VAR3}"
|
|
exit 0
|
|
}
|
|
</command>
|
|
</hudson.tasks.Shell>
|
|
</builders>
|
|
<publishers/>
|
|
<buildWrappers/>
|
|
</project>
|