Compare commits

...

2 Commits

Author SHA1 Message Date
Adam Townsend 21eeb9db72 use version instead of date
Gitea Bucky/url-shortener/pipeline/head There was a failure building this commit Details
2023-10-24 18:01:15 -07:00
Adam Townsend 2cbe5f85b0 moved bundle-audit inside test group, added version file 2023-10-24 17:53:56 -07:00
3 changed files with 4 additions and 3 deletions

View File

@ -30,6 +30,6 @@ group :test do
gem 'rubocop', require: false gem 'rubocop', require: false
gem 'ruby_audit', '~> 2.2' gem 'ruby_audit', '~> 2.2'
end
gem 'bundle-audit', '~> 0.1.0' gem 'bundle-audit', '~> 0.1.0'
end

2
Jenkinsfile vendored
View File

@ -102,7 +102,7 @@ pipeline {
steps { steps {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') { catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
sh ''' #!/usr/local/bin/bash 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) CUR_DIR=$(pwd)
bundle config set --local without 'test' bundle config set --local without 'test'
bundle config set --local path "vendor" bundle config set --local path "vendor"

1
VERSION 100644
View File

@ -0,0 +1 @@
VERSION = '1.0.0'