Files
dashboard/jenkins/buildFrontend.sh
Hawk a681730989
Some checks failed
SimcoDash/simcompanies-dashboard/pipeline/head There was a failure building this commit
test7
2020-05-13 21:29:07 +02:00

13 lines
256 B
Bash

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