All checks were successful
SimcoDash/simcompanies-dashboard/pipeline/head This commit looks good
14 lines
262 B
Bash
14 lines
262 B
Bash
#!/usr/bin/env sh
|
|
|
|
echo $BRANCH_NAME
|
|
echo $PWD
|
|
cd ./frontend
|
|
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
|