jenkins-job-builder/tests/yamlparser/fixtures/active-choices-param002.xml
Eren ATAS 6cad52986e Active Choices parameters support
Following parameters have been implemented in JJB:
- Active Choices Parameter
- Active Choices Reactive Reference Parameter

Test cases also have been written.

Change-Id: I6e953aa26114fde9ff293ed17cc17d5972df9af3
Signed-off-by: Eren ATAS <eatas.contractor@libertyglobal.com>
2020-10-12 14:00:54 +02:00

62 lines
2.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<project>
<actions/>
<description>&lt;!-- Managed by Jenkins Job Builder --&gt;</description>
<keepDependencies>false</keepDependencies>
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
<concurrentBuild>false</concurrentBuild>
<canRoam>true</canRoam>
<properties>
<hudson.model.ParametersDefinitionProperty>
<parameterDefinitions>
<org.biouno.unochoice.ChoiceParameter>
<script class="org.biouno.unochoice.model.GroovyScript">
<secureFallbackScript>
<script>return [
'param3',
'param4'
]</script>
<sandbox>false</sandbox>
<classpath>
<entry>
<url>file:/jar-file-path</url>
</entry>
<entry>
<url>file:/jar-file-path2</url>
</entry>
</classpath>
</secureFallbackScript>
<secureScript>
<script>return [
'param1',
'param2'
]</script>
<sandbox>false</sandbox>
<classpath>
<entry>
<url>file:/jar-file-path</url>
</entry>
<entry>
<url>file:/jar-file-path2</url>
</entry>
</classpath>
</secureScript>
</script>
<name>lorem</name>
<description>ipsum</description>
<choiceType>PT_MULTI_SELECT</choiceType>
<filterable>true</filterable>
<filterLength>1</filterLength>
<projectName>active-choices-job</projectName>
<projectFullName>active-choices-job</projectFullName>
</org.biouno.unochoice.ChoiceParameter>
</parameterDefinitions>
</hudson.model.ParametersDefinitionProperty>
</properties>
<scm class="hudson.scm.NullSCM"/>
<builders/>
<publishers/>
<buildWrappers/>
</project>