Update Jenkinsfile

This commit is contained in:
Telesphoreo 2022-04-22 03:09:31 -05:00
parent da8e9e0497
commit 1bd8ad23ab
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -1,7 +1,7 @@
pipeline {
agent any
environment {
GITHUB_BRANCH = "${GIT_BRANCH.split('/').size() > 1 ? GIT_BRANCH.split('/')[1..-1].join('/') : GIT_BRANCH}"
GITHUB_BRANCH = "${BRANCH_NAME}"
}
options {
buildDiscarder logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '', numToKeepStr: '5')