move the local path in the build prod artifact stage to make the tests
quickerpull/34/head
parent
0e9342fab6
commit
35583e404e
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue