diff options
| -rw-r--r-- | Jenkinsfile | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Jenkinsfile b/Jenkinsfile index 55f2463..f7eefbd 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,10 +1,6 @@ pipeline { agent any - parameters { - string(name: 'BRANCH', defaultValue: 'master', description: 'Branch to build') - } - triggers { cron('H */12 * * *') pollSCM('H */6 * * *') @@ -23,7 +19,7 @@ pipeline { stage('Checkout') { steps { checkout scmGit( - branches: [[name: "*/${params.BRANCH}"]], + branches: [[name: "*/${env.BRANCH_NAME}"]], extensions: [ cloneOption(shallow: true) ], userRemoteConfigs: [ [credentialsId: 'abdeb570-b708-44f3-b857-8a6b06ed9822', |
