Files
dashboard/jenkins/buildFrontend.sh
Hawk b81cb7f3e6
All checks were successful
SimcoDash/simcompanies-dashboard/pipeline/head This commit looks good
test9
2020-05-13 21:39:04 +02:00

14 lines
258 B
Bash

#!/usr/bin/env sh
cd ./frontend
echo "$BRANCH_NAME"
if test "$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