build only for master

This commit is contained in:
2020-05-13 22:31:02 +02:00
parent 904e0fa57d
commit 682a4121d3

View File

@@ -2,12 +2,12 @@
cd ./frontend cd ./frontend
if test "$1" = "edit-jenkinsfile" if test "$1" = "master"
then then
echo 'Install neccessary Packages' echo 'Install neccessary Packages'
yarn install yarn install
echo 'Build Frontend for Production' echo 'Build Frontend for Production'
yarn run build yarn run build
else else
echo $1 echo "Skipping for non-master branch"
fi fi