From 7d04c4672811391f9d26979526d7cb463601b0d4 Mon Sep 17 00:00:00 2001 From: Adam Townsend Date: Mon, 23 Oct 2023 07:18:31 -0700 Subject: [PATCH] added bundle config to only use prod gems and bundle clean to remove unnecessary gems from the current poject --- Jenkinsfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 7b9cb91..ca09ef4 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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/ -- 2.41.0