use version instead of date
Gitea Bucky/url-shortener/pipeline/head There was a failure building this commit Details

master
Adam Townsend 2023-10-24 18:01:15 -07:00
parent 2cbe5f85b0
commit 21eeb9db72
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -102,7 +102,7 @@ pipeline {
steps {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
sh ''' #!/usr/local/bin/bash
ZIP_FILE="url-shortener_${BRANCH_NAME}_$(date "+%Y-%m-%d_%H-%M-%S").tgz"
ZIP_FILE="url-shortener_${BRANCH_NAME}_$(cat VERSION).tgz"
CUR_DIR=$(pwd)
bundle config set --local without 'test'
bundle config set --local path "vendor"