another shot at setting the zip file name
parent
621a777a46
commit
01d9f9a21c
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue