-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpipelinewithparmas
31 lines (25 loc) · 1 KB
/
pipelinewithparmas
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
pipeline {
agent any
parameters {
choice(
choices:['one','two','three','four'],
name:'MULTIPLE_CHOICE')
booleanParam(
defaultValue:true,
//description:'This is true',
name:'Boolean_param'
)
}
stages{
stage('stage1'){
steps{
echo "number of multiline :${params.MULTIPLE_CHOICE}"
// echo "number os :${params.multi_string}"
echo "numver of :${params.Boolean_param}"
// println("multiple numbers" + MULTIPLE_CHOICE)
// println("boolean value is" + Boolean_param)
// println("multi string is " + multi_string)
}
}
}
}