diff --git a/jenkins/buildFrontend.sh b/jenkins/buildFrontend.sh index 1993a48..cf9bb55 100644 --- a/jenkins/buildFrontend.sh +++ b/jenkins/buildFrontend.sh @@ -2,12 +2,12 @@ cd ./frontend -if test "$1" = "edit-jenkinsfile" +if test "$1" = "master" then echo 'Install neccessary Packages' yarn install echo 'Build Frontend for Production' yarn run build else - echo $1 + echo "Skipping for non-master branch" fi