| 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 | <disabled>false</disabled> |
| 7 | <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding> |
| 8 | <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding> |
| 9 | <concurrentBuild>false</concurrentBuild> |
| 10 | <quietPeriod>1</quietPeriod> |
| 11 | <assignedNode>my-test-node</assignedNode> |
| 12 | <canRoam>false</canRoam> |
| 13 | <properties> |
| 14 | <EnvInjectJobProperty> |
| 15 | <info> |
| 16 | <loadFilesFromMaster>false</loadFilesFromMaster> |
| 17 | <secureGroovyScript> |
| 18 | <sandbox>false</sandbox> |
| 19 | </secureGroovyScript> |
| 20 | </info> |
| 21 | <on>true</on> |
| 22 | <keepJenkinsSystemVariables>true</keepJenkinsSystemVariables> |
| 23 | <keepBuildVariables>true</keepBuildVariables> |
| 24 | <overrideBuildParameters>false</overrideBuildParameters> |
| 25 | </EnvInjectJobProperty> |
| 26 | </properties> |
| 27 | <scm class="hudson.scm.NullSCM"/> |
| 28 | <builders> |
| 29 | <hudson.tasks.Shell> |
| 30 | <command>#!/bin/bash |
| 31 | # |
| 32 | # test script containing some variables to show how you can include scripts |
| 33 | # into job template definitions provided you use the !include-raw-verbatim: tag |
| 34 | |
| 35 | MSG="hello world" |
| 36 | |
| 37 | [[ -n "${MSG}" ]] && { |
| 38 | # this next section is executed as one |
| 39 | echo "${MSG}" |
| 40 | exit 0 |
| 41 | } |
| 42 | </command> |
| 43 | </hudson.tasks.Shell> |
| 44 | </builders> |
| 45 | <publishers/> |
| 46 | <buildWrappers/> |
| 47 | </project> |