6cad52986e
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>
30 lines
867 B
YAML
30 lines
867 B
YAML
- job:
|
|
name: active-choices-job
|
|
parameters:
|
|
- active-choices:
|
|
name: lorem
|
|
description: ipsum
|
|
script:
|
|
groovy: |-
|
|
return [
|
|
'param1',
|
|
'param2'
|
|
]
|
|
use-groovy-sandbox: false
|
|
script-additional-classpath:
|
|
- file:/jar-file-path
|
|
- file:/jar-file-path2
|
|
fallback-script:
|
|
groovy: |-
|
|
return [
|
|
'param3',
|
|
'param4'
|
|
]
|
|
use-groovy-sandbox: false
|
|
script-additional-classpath:
|
|
- file:/jar-file-path
|
|
- file:/jar-file-path2
|
|
choice-type: multi-select
|
|
enable-filters: true
|
|
filter-starts-at: 1
|