mirror of
https://github.com/AtlasMediaGroup/Scissors.git
synced 2026-06-04 00:46:54 +00:00
Try and set the branch name
I figured out that the updater wasn't working because Jenkins was always setting the branch name to HEAD
This commit is contained in:
Vendored
+3
@@ -1,5 +1,8 @@
|
||||
pipeline {
|
||||
agent any
|
||||
environment {
|
||||
BRANCH_NAME = "${GIT_BRANCH.split("/")[1]}"
|
||||
}
|
||||
options {
|
||||
buildDiscarder logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '', numToKeepStr: '5')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user