From 360ddbe6d239cbe1d0710d28a993116c2f1c306b Mon Sep 17 00:00:00 2001 From: Adam Townsend Date: Tue, 17 Oct 2023 21:45:14 -0700 Subject: [PATCH] include the branch name in the zip, so it can be identified a little easier later --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 7c16c8e..f656463 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -46,7 +46,7 @@ pipeline { steps { catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') { sh ''' #!/usr/local/bin/bash - ZIP_FILE="url-shortener_$(date "+%Y-%m-%d_%H-%M-%S").tgz" + ZIP_FILE="url-shortener_${BRANCH_NAME}_$(date "+%Y-%m-%d_%H-%M-%S").tgz" CUR_DIR=$(pwd) mkdir -p /tmp/url-shortener cp -R * /tmp/url-shortener