jenkins-job-builder/tests/yamlparser/job_fixtures/job-and-macro-expansions.xml

83 lines
2.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<project>
<actions/>
<description>&lt;!-- Managed by Jenkins Job Builder --&gt;</description>
<keepDependencies>false</keepDependencies>
<displayName>sample-job</displayName>
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
<concurrentBuild>false</concurrentBuild>
<canRoam>true</canRoam>
<properties/>
<scm class="hudson.scm.NullSCM"/>
<builders>
<hudson.tasks.Shell>
<command>echo sample-job: should not be expanded: {param}
</command>
</hudson.tasks.Shell>
<hudson.tasks.Shell>
<command>echo include-raw-verbatim: should not be expanded: {param}
</command>
</hudson.tasks.Shell>
</builders>
<publishers/>
<buildWrappers/>
</project>
<?xml version="1.0" encoding="utf-8"?>
<project>
<actions/>
<description>&lt;!-- Managed by Jenkins Job Builder --&gt;</description>
<keepDependencies>false</keepDependencies>
<displayName>sample-job-template</displayName>
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
<concurrentBuild>false</concurrentBuild>
<canRoam>true</canRoam>
<properties/>
<scm class="hudson.scm.NullSCM"/>
<builders>
<hudson.tasks.Shell>
<command>echo builder-without-params: should not be expanded: {param}
</command>
</hudson.tasks.Shell>
<hudson.tasks.Shell>
<command>echo include-raw-verbatim: should not be expanded: {param}
</command>
</hudson.tasks.Shell>
<hudson.tasks.Shell>
<command>echo builder-with-params: should not be expanded: {param}
</command>
</hudson.tasks.Shell>
<hudson.tasks.Shell>
<command>echo builder-with-params: should be expanded: sample macro param value
</command>
</hudson.tasks.Shell>
<hudson.tasks.Shell>
<command>echo include-raw-verbatim: should not be expanded: {param}
</command>
</hudson.tasks.Shell>
<hudson.tasks.Shell>
<command>echo include-raw-expand: should be expanded: sample macro param value
</command>
</hudson.tasks.Shell>
<hudson.tasks.Shell>
<command>echo sample-job-template: should not be expanded: {param}
</command>
</hudson.tasks.Shell>
<hudson.tasks.Shell>
<command>echo sample-job-template: should be expanded: sample project param value
</command>
</hudson.tasks.Shell>
<hudson.tasks.Shell>
<command>echo include-raw-verbatim: should not be expanded: {param}
</command>
</hudson.tasks.Shell>
<hudson.tasks.Shell>
<command>echo include-raw-expand: should be expanded: sample project param value
</command>
</hudson.tasks.Shell>
</builders>
<publishers/>
<buildWrappers/>
</project>