| 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <project> |
| 3 | <actions/> |
| 4 | <description><!-- Managed by Jenkins Job Builder --></description> |
| 5 | <keepDependencies>false</keepDependencies> |
| 6 | <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding> |
| 7 | <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding> |
| 8 | <concurrentBuild>false</concurrentBuild> |
| 9 | <canRoam>true</canRoam> |
| 10 | <properties/> |
| 11 | <scm class="hudson.scm.NullSCM"/> |
| 12 | <builders> |
| 13 | <hudson.tasks.Shell> |
| 14 | <command>#!/bin/bash |
| 15 | # |
| 16 | # sample script to check that variables aren't expanded |
| 17 | # when using the !include-raw-verbatim: application yaml tag |
| 18 | |
| 19 | VAR1="hello" |
| 20 | VAR2="world" |
| 21 | VAR3="${VAR1} ${VAR2}" |
| 22 | |
| 23 | [[ -n "${VAR3}" ]] && { |
| 24 | # this next section is executed as one |
| 25 | echo "${VAR3}" |
| 26 | exit 0 |
| 27 | } |
| 28 | </command> |
| 29 | </hudson.tasks.Shell> |
| 30 | </builders> |
| 31 | <publishers/> |
| 32 | <buildWrappers/> |
| 33 | </project> |