From f54e9242fc038ef89c0fa6fa7571a9e34d65c01f Mon Sep 17 00:00:00 2001 From: Peter Bacon Darwin Date: Mon, 28 Nov 2016 10:45:23 +0000 Subject: [PATCH] chore(jenkins): remove path to grunt grunt is installed globally on jenkins so we can just use it directly. --- scripts/jenkins/build.sh | 11 +++++------ scripts/jenkins/release.sh | 3 +-- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/scripts/jenkins/build.sh b/scripts/jenkins/build.sh index 205bcf624..16a12402e 100755 --- a/scripts/jenkins/build.sh +++ b/scripts/jenkins/build.sh @@ -21,22 +21,21 @@ rm -f angular.js.size # BUILD # -yarn -node_modules/.bin/grunt ci-checks package --no-color +grunt ci-checks package --no-color mkdir -p test_out # UNIT TESTS # -node_modules/.bin/grunt test:unit --browsers="$BROWSERS" --reporters=dots,junit --no-colors --no-color +grunt test:unit --browsers="$BROWSERS" --reporters=dots,junit --no-colors --no-color # END TO END TESTS # -node_modules/.bin/grunt test:ci-protractor +grunt test:ci-protractor # DOCS APP TESTS # -node_modules/.bin/grunt test:docs --browsers="$BROWSERS" --reporters=dots,junit --no-colors --no-color +grunt test:docs --browsers="$BROWSERS" --reporters=dots,junit --no-colors --no-color # Promises/A+ TESTS # -node_modules/.bin/grunt test:promises-aplus --no-color +grunt test:promises-aplus --no-color # CHECK SIZE # diff --git a/scripts/jenkins/release.sh b/scripts/jenkins/release.sh index 1513a37c4..bb738a202 100755 --- a/scripts/jenkins/release.sh +++ b/scripts/jenkins/release.sh @@ -38,8 +38,7 @@ function build { source ./init-node.sh cd ../.. - yarn - node_modules/.bin/grunt ci-checks package --no-color + grunt ci-checks package --no-color cd $SCRIPT_DIR }