archive-deliverable #26

Merged
bucky merged 20 commits from archive-deliverable into master 2023-10-17 18:12:38 -07:00
Showing only changes of commit 6fbecd78a4 - Show all commits
Vendored
+3 -2
View File
@@ -45,14 +45,15 @@ pipeline {
reportTitles: 'Cucumber Results, RSpec Results, Test Coverage'])
}
}
stage('Build deliverable') {
stage('Build production deliverable') {
steps {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
sh ''' #!/usr/local/bin/bash
CUR_DIR=$(pwd)
mkdir -p /tmp/url-shortener
cp -R * /tmp/url-shortener
rm -rf /tmp/url-shortener/features /tmp/url-shortener/spec /tmp/url-shortener/coverage /tmp/url-shortener/db/*.db .git*
cd /tmp/url-shortener
rm -rf features spec coverage db/*.db .git* Jenkinsfile *.html
cd /tmp
tar -czvf url-shortener.tgz url-shortener/
mv url-shortener.tgz $CUR_DIR