another shot at setting the zip file name
parent
621a777a46
commit
01d9f9a21c
|
|
@ -45,7 +45,8 @@ pipeline {
|
||||||
stage('Build production deliverable') {
|
stage('Build production deliverable') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
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') {
|
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||||
sh ''' #!/usr/local/bin/bash
|
sh ''' #!/usr/local/bin/bash
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue