From 35583e404edce52ab419c16659f376b9c19cc03e Mon Sep 17 00:00:00 2001 From: Adam Townsend Date: Mon, 23 Oct 2023 07:43:30 -0700 Subject: [PATCH] move the local path in the build prod artifact stage to make the tests quicker --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 9553ec7..5d46486 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -18,7 +18,6 @@ pipeline { } stage('Build dependencies') { steps { - sh 'bundle config set --local path "vendor"' sh 'bundle install' sh 'sequel -m db/migrations sqlite://db/${DB_NAME}' } @@ -68,6 +67,7 @@ pipeline { ZIP_FILE="url-shortener_${BRANCH_NAME}_$(date "+%Y-%m-%d_%H-%M-%S").tgz" CUR_DIR=$(pwd) bundle config set --local without 'test' + bundle config set --local path "vendor" bundle clean mkdir -p /tmp/url-shortener cp -R * /tmp/url-shortener