We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 870952a commit d1cf996Copy full SHA for d1cf996
1 file changed
Jenkinsfile-input
@@ -28,5 +28,16 @@ pipeline {
28
}
29
30
31
+
32
+ stage('use result'){
33
+ steps{
34
+ result = input message: 'Please input the git branch name!', ok: 'Confirm',
35
+ parameters: [string(defaultValue: 'master',
36
+ description: 'The branch name of git repo', name: 'branchName', trim: true)]
37
38
+ git branch: result.branchName, url: 'https://github.com/devops-workspace/demo-junit'
39
+ }
40
41
42
43
0 commit comments