Skip to content

Commit 6eb478f

Browse files
author
Zhao Xiaojie
authored
Create Jenkinsfile-input
1 parent a46d2d4 commit 6eb478f

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

Jenkinsfile-input

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
pipeline {
2+
agent any
3+
4+
stages{
5+
stage('simple'){
6+
steps{
7+
input message: 'Please input your name!', ok: 'Confirm',
8+
parameters: [string(defaultValue: 'rick',
9+
description: 'This should not be your real name.', name: 'name', trim: true)]
10+
}
11+
}
12+
13+
stage('complex'){
14+
parallel {
15+
stage('channel-1'){
16+
steps{
17+
echo 'd'
18+
}
19+
}
20+
stage('channel-2'){
21+
steps{
22+
echo 'd'
23+
}
24+
}
25+
}
26+
}
27+
}
28+
}

0 commit comments

Comments
 (0)