Skip to content

Commit 974fd45

Browse files
author
Zhao Xiaojie
authored
Update Jenkinsfile-input
1 parent 6eb478f commit 974fd45

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

Jenkinsfile-input

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,16 @@ pipeline {
1414
parallel {
1515
stage('channel-1'){
1616
steps{
17-
echo 'd'
17+
input message: 'Please input your age!', ok: 'Confirm',
18+
parameters: [string(defaultValue: '18',
19+
description: 'Just a joke.', name: 'age', trim: true)]
1820
}
1921
}
2022
stage('channel-2'){
2123
steps{
22-
echo 'd'
24+
input message: 'Please input your weight!', ok: 'Confirm',
25+
parameters: [string(defaultValue: '50',
26+
description: 'Just a joke.', name: 'weight', trim: true)]
2327
}
2428
}
2529
}

0 commit comments

Comments
 (0)