another shot at setting the zip file name

This commit is contained in:
2023-10-17 17:12:16 -07:00
parent 621a777a46
commit 01d9f9a21c
Vendored
+2 -1
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