Skip to content

Commit

Permalink
Merge pull request #7633 from spalger/ci/sourceRatherThanExec
Browse files Browse the repository at this point in the history
[ci] source the setup script instead of executing it
  • Loading branch information
spalger authored Jul 5, 2016
2 parents 37cc438 + 8adaecb commit 832e515
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,3 @@ if [ -z "$(npm bin)" ]; then
echo "npm does not know where it stores executables..... huh??"
exit 1
fi

export GRUNT="$(npm bin)/grunt"
5 changes: 2 additions & 3 deletions test/scripts/jenkins_build_snapshot.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/usr/bin/env bash

set -e
source "$(dirname $0)/_jenkins_setup.sh"

"$(dirname $0)/jenkins_setup.sh"

"$GRUNT" build;
"$(npm bin)/grunt" build;
3 changes: 1 addition & 2 deletions test/scripts/jenkins_selenium.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/usr/bin/env bash

set -e

"$(dirname $0)/jenkins_setup.sh"
source "$(dirname $0)/_jenkins_setup.sh"

xvfb-run "$(npm bin)/grunt" jenkins:selenium;
5 changes: 2 additions & 3 deletions test/scripts/jenkins_unit.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/usr/bin/env bash

set -e
source "$(dirname $0)/_jenkins_setup.sh"

"$(dirname $0)/jenkins_setup.sh"

xvfb-run "$GRUNT" jenkins:unit;
xvfb-run "$(npm bin)/grunt" jenkins:unit;

0 comments on commit 832e515

Please sign in to comment.