Files
dashboard/jenkins/buildFrontend.sh
Hawk e5d74a47ea
All checks were successful
SimcoDash/simcompanies-dashboard/pipeline/head This commit looks good
test11
2020-05-13 21:44:41 +02:00

14 lines
235 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 "$env.BRANCH_NAME"
fi