All checks were successful
SimcoDash/simcompanies-dashboard/pipeline/head This commit looks good
14 lines
258 B
Bash
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
|