fix: refs #5483 Jenkinsfile fix
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Juan Ferrer 2024-01-30 20:44:33 +01:00
parent 027f7d2c1d
commit 29634e16e5
1 changed files with 1 additions and 8 deletions

9
Jenkinsfile vendored
View File

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