Skip to content

Commit cba4498

Browse files
author
pipelineascodecourse
committed
initial commit
1 parent 0342786 commit cba4498

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
import com.cwctravel.hudson.plugins.extended_choice_parameter.ExtendedChoiceParameterDefinition
2+
3+
node() {
4+
properties([parameters([new ExtendedChoiceParameterDefinition(
5+
"color_of_car",
6+
"PT_CHECKBOX",
7+
"red,blue,yellow,green",
8+
"",
9+
"",
10+
"",
11+
"",
12+
"",
13+
"",
14+
"",
15+
"",
16+
"",
17+
"",
18+
"",
19+
"",
20+
"",
21+
"",
22+
"redDesc,blueDesc,yellowDesc,greenDesc",
23+
"",
24+
"",
25+
"",
26+
"",
27+
"",
28+
"",
29+
"",
30+
"",
31+
false,
32+
false,
33+
4,
34+
"multiCheckboxDesc",
35+
"-")])])
36+
37+
echo "Selected ${params.color_of_car}"
38+
}
39+

0 commit comments

Comments
 (0)