diff --git a/Jenkinsfile b/Jenkinsfile index d342b98..f7e2f7c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -2,14 +2,14 @@ pipeline { agent any parameters { - gitParameter branchFilter: '(.*)', defaultValue: 'master', name: 'BRANCH', type: 'PT_BRANCH' + gitParameter branchFilter: '.*/(.*)', defaultValue: 'master', name: 'BRANCH', type: 'PT_BRANCH' } stages { stage('Show the branch 1') { steps { sh '/bin/true' - echo "${params.BRANCH}" + echo "BRANCH IS: ${params.BRANCH}" } } }