Page MenuHomeSealhub

jenkins.start.sh
No OneTemporary

jenkins.start.sh

#!/bin/bash
docker-compose down
set -e
export SEALIOUS_PORT=$1
export SEALIOUS_BASE_URL=$2
docker-compose down
docker-compose up -d db
./npm.sh ci
./npm.sh run build:back;
./npm.sh run build:front;
rm -f log.txt
docker-compose run --user="$UID"\
-e "SEALIOUS_MONGO_PORT=27017" \
-e "SEALIOUS_MONGO_HOST=db" \
-e "SEALIOUS_PORT=$SEALIOUS_PORT" \
-e "SEALIOUS_BASE_URL=$SEALIOUS_BASE_URL" \
-p ${SEALIOUS_PORT}:${SEALIOUS_PORT} \
-d \
test \
/bin/sh -c "node . > log.txt" \
&& echo "App started on $SEALIOUS_PORT"

File Metadata

Mime Type
text/x-shellscript
Expires
Mon, Dec 23, 00:57 (3 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
556744
Default Alt Text
jenkins.start.sh (567 B)

Event Timeline