Files
dashboard/jenkins/buildFrontend.sh
Hawk dd219e2cc6
All checks were successful
SimcoDash/simcompanies-dashboard/pipeline/head This commit looks good
test6
2020-05-13 21:18:19 +02:00

14 lines
262 B
Bash

#!/usr/bin/env sh
echo $BRANCH_NAME
echo $PWD
cd ./frontend
if [$BRANCH_NAME = "edit-jenkinsfile"]; then
echo 'Install neccessary Packages'
yarn install
echo 'Build Frontend for Production'
yarn run build
else
echo 'Not in master Branch'
fi