Files
app/nextjs/scripts/start.sh
tberrod 370e58494c
tt-app/app/Saga There was a failure building this commit
fe
2019-09-20 15:24:18 +02:00

28 lines
416 B
Bash

#!/usr/bin/env sh
cd '/var/jenkins_home/workspace/tt-app_app_Saga/nextjs/'
echo '==============='
echo '=====Build====='
echo '==============='
set -x
cat package.json
yarn install
echo '-----installation de cypress-----'
yarn global add cypress
echo '-----BUILD-----'
yarn build
set +x
echo '==============='
echo '=====Start====='
echo '==============='
set -x
yarn start &
sleep 1
echo $! > .pidfile
set +x