another shot at setting the zip file name
This commit is contained in:
Vendored
+2
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user