Merge pull request 'added bundle config to only use prod gems and bundle clean to remove unnecessary gems from the current poject' (#33) from build-deployment-artifact into master
Reviewed-on: #33 closes bucky/url-shortener#32pull/34/head
commit
ca4182d798
|
|
@ -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/
|
||||
|
|
|
|||
Loading…
Reference in New Issue