added bundle config to only use prod gems and bundle clean to remove unnecessary gems from the current poject

This commit is contained in:
2023-10-23 07:18:31 -07:00
parent 4490ed3e7c
commit 7d04c46728
Vendored
+2
View File
@@ -66,6 +66,8 @@ pipeline {
sh ''' #!/usr/local/bin/bash
ZIP_FILE="url-shortener_${BRANCH_NAME}_$(date "+%Y-%m-%d_%H-%M-%S").tgz"
CUR_DIR=$(pwd)
bundle config set --local without 'test'
bundle clean
mkdir -p /tmp/url-shortener
cp -R * /tmp/url-shortener
cp .env.rb /tmp/url-shortener/