jenkinsfile: add parameter
This commit is contained in:
parent
2b4108cd26
commit
a592f69642
|
@ -1,6 +1,9 @@
|
|||
pipeline {
|
||||
agent any
|
||||
triggers { pollSCM('H/2 * * * *') }
|
||||
parameters {
|
||||
string(name: 'GIT_BRANCH', defaultValue: 'wip/jenkinsfile', description: 'Git branch to use')
|
||||
}
|
||||
stages{
|
||||
stage('unit test'){
|
||||
steps{
|
||||
|
|
Loading…
Reference in New Issue