ci: refs #6695 update Jenkinsfile to improve TARGET_BRANCH assignment logic
gitea/salix-front/pipeline/pr-dev Build queued... Details
gitea/salix-front/pipeline/pr-test Something is wrong with the build of this commit Details

This commit is contained in:
Alex Moreno 2025-02-21 15:14:16 +01:00
parent b2ae8c5714
commit ddbae9a13d
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -21,7 +21,7 @@ node {
]
TARGET_BRANCH = PROTECTED_BRANCH.contains(env.CHANGE_TARGET) ? env.CHANGE_TARGET : "dev"
echo "TARGET_BRANCH" TARGET_BRANCH
echo TARGET_BRANCH
IS_PROTECTED_BRANCH = PROTECTED_BRANCH.contains(env.BRANCH_NAME)
IS_LATEST = ['master', 'main'].contains(env.BRANCH_NAME)