diff --git a/Jenkinsfile b/Jenkinsfile index b025bd6..963a74c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,5 +1,8 @@ pipeline { agent any + environment { + BRANCH_NAME = "${GIT_BRANCH.split("/")[1]}" + } options { buildDiscarder logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '', numToKeepStr: '5') }