Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit d69a640

Browse files
chore(jenkins): remove path to grunt
grunt is installed globally on jenkins so we can just use it directly.
1 parent ebd8411 commit d69a640

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

scripts/jenkins/build.sh

+5-6
Original file line numberDiff line numberDiff line change
@@ -21,22 +21,21 @@ rm -f angular.js.size
2121

2222

2323
# BUILD #
24-
yarn
25-
node_modules/.bin/grunt ci-checks package --no-color
24+
grunt ci-checks package --no-color
2625

2726
mkdir -p test_out
2827

2928
# UNIT TESTS #
30-
node_modules/.bin/grunt test:unit --browsers="$BROWSERS" --reporters=dots,junit --no-colors --no-color
29+
grunt test:unit --browsers="$BROWSERS" --reporters=dots,junit --no-colors --no-color
3130

3231
# END TO END TESTS #
33-
node_modules/.bin/grunt test:ci-protractor
32+
grunt test:ci-protractor
3433

3534
# DOCS APP TESTS #
36-
node_modules/.bin/grunt test:docs --browsers="$BROWSERS" --reporters=dots,junit --no-colors --no-color
35+
grunt test:docs --browsers="$BROWSERS" --reporters=dots,junit --no-colors --no-color
3736

3837
# Promises/A+ TESTS #
39-
node_modules/.bin/grunt test:promises-aplus --no-color
38+
grunt test:promises-aplus --no-color
4039

4140

4241
# CHECK SIZE #

scripts/jenkins/release.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ function build {
3838
source ./init-node.sh
3939
cd ../..
4040

41-
yarn
42-
node_modules/.bin/grunt ci-checks package --no-color
41+
grunt ci-checks package --no-color
4342

4443
cd $SCRIPT_DIR
4544
}

0 commit comments

Comments
 (0)