another shot at setting the zip file name

pull/26/head
Adam Townsend 2023-10-17 17:12:16 -07:00
parent 621a777a46
commit 01d9f9a21c
1 changed files with 2 additions and 1 deletions

3
Jenkinsfile vendored
View File

@ -45,7 +45,8 @@ pipeline {
stage('Build production deliverable') {
steps {
script {
env.ZIP_FILE="url-shortener_$(date "+%Y-%m-%d_%H-%M-%S").tgz"
ZIP_DATE=$(date "+%Y-%m-%d_%H-%M-%S")
env.ZIP_FILE="url-shortener_$ZIP_DATE"
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
sh ''' #!/usr/local/bin/bash