added bundle config to only use prod gems and bundle clean to remove unnecessary gems from the current poject #33
Vendored
+2
@@ -66,6 +66,8 @@ pipeline {
|
|||||||
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}_$(date "+%Y-%m-%d_%H-%M-%S").tgz"
|
||||||
CUR_DIR=$(pwd)
|
CUR_DIR=$(pwd)
|
||||||
|
bundle config set --local without 'test'
|
||||||
|
bundle clean
|
||||||
mkdir -p /tmp/url-shortener
|
mkdir -p /tmp/url-shortener
|
||||||
cp -R * /tmp/url-shortener
|
cp -R * /tmp/url-shortener
|
||||||
cp .env.rb /tmp/url-shortener/
|
cp .env.rb /tmp/url-shortener/
|
||||||
|
|||||||
Reference in New Issue
Block a user