Some checks failed
SimcoDash/simcompanies-dashboard/pipeline/head There was a failure building this commit
13 lines
256 B
Bash
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
|