include the branch name in the zip, so it can be identified a little easier later

pull/31/head
Adam Townsend 2023-10-17 21:45:14 -07:00
parent b3b886f0b3
commit 360ddbe6d2
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -46,7 +46,7 @@ pipeline {
steps { steps {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') { catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
sh ''' #!/usr/local/bin/bash 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) CUR_DIR=$(pwd)
mkdir -p /tmp/url-shortener mkdir -p /tmp/url-shortener
cp -R * /tmp/url-shortener cp -R * /tmp/url-shortener