diff --git a/Jenkinsfile b/Jenkinsfile index a73047b31..f4d429765 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -8,13 +8,6 @@ pipeline { PROJECT_NAME = 'salix' STACK_NAME = "${env.PROJECT_NAME}-${env.BRANCH_NAME}" } - parameters { - booleanParam( - name: 'PROTECTED_BRANCH', - defaultValue: false, - description: 'Whether branch is a protected branch' - ) - } stages { stage('Checkout') { steps { @@ -37,7 +30,7 @@ pipeline { break } - params.PROTECTED_BRANCH = [ + env.PROTECTED_BRANCH = [ 'dev', 'test', 'master'