diff --git a/Jenkinsfile b/Jenkinsfile index 48a54c0..345ca90 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -10,7 +10,6 @@ pipeline { sh 'rbenv local 3.2.2' sh 'echo "ENV[\\\"APP_SESSION_SECRET\\\"] ||= $(ruby secret.rb)" > .env.rb' sh 'echo "ENV[\\\"DB_NAME\\\"] ||= \\\"${DB_NAME}\\\"" >> .env.rb' - sh 'cat .env.rb' } } stage('Build dependencies') { @@ -46,10 +45,10 @@ pipeline { catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') { sh ''' #!/usr/local/bin/bash ZIP_FILE="url-shortener_$(date "+%Y-%m-%d_%H-%M-%S").tgz" - echo $ZIP_FILE CUR_DIR=$(pwd) mkdir -p /tmp/url-shortener cp -R * /tmp/url-shortener + ls -lah cp .env /tmp/url-shortener/ cd /tmp/url-shortener rm -rf features spec coverage db/*.db .git* Jenkinsfile *.html secret.rb