Skip to content

Commit

Permalink
Add check for CI environment when kill node process
Browse files Browse the repository at this point in the history
  • Loading branch information
cgewecke committed Mar 23, 2020
1 parent 0286293 commit 2f1ebc5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/e2e.windows.sh
Expand Up @@ -22,4 +22,6 @@ source verdaccio_pid
kill -9 $VERDACCIO_PID

# Terminate stray node process
kill -9 $(grep node <(ps -ef) | sed 's/.*\travis *\([0-9]*\).*/\1/')
if [ ! -z "$CI" ]; then
kill -9 $(grep node <(ps -ef) | sed 's/.*\travis *\([0-9]*\).*/\1/')
fi

0 comments on commit 2f1ebc5

Please sign in to comment.