Files
dashboard/jenkins/buildFrontend.sh
Hawk 846775a7c2
All checks were successful
SimcoDash/simcompanies-dashboard/pipeline/head This commit looks good
test15
2020-05-13 22:07:07 +02:00

14 lines
229 B
Bash

#!/usr/bin/env sh
cd ./frontend
if test "$BRANCH_NAME" = "edit-jenkinsfile"
then
echo 'Install neccessary Packages'
yarn install
echo 'Build Frontend for Production'
yarn run build
else
echo $BRANCH_NAME
fi