jenkinsfile: add parameter

This commit is contained in:
Emmanuel Cazenave 2018-03-14 17:45:47 +01:00
parent 2b4108cd26
commit a592f69642
1 changed files with 3 additions and 0 deletions

3
Jenkinsfile vendored
View File

@ -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{