Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Commit

Permalink
Add logging to debug concurrency issues
Browse files Browse the repository at this point in the history
  • Loading branch information
francoilol committed Oct 10, 2017
1 parent 8745442 commit 9cb71c0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,14 @@ node('lisk-nano') {
} finally {
sh '''
N=${EXECUTOR_NUMBER:-0}
( . ~/lisk-Linux-x86_64/env.sh && pm2 -p etc/pm2-lisk_$N.json list ) || true
ps ux
( cd ~/lisk-Linux-x86_64 && bash lisk.sh stop_node -p etc/pm2-lisk_$N.json ) || true
( . ~/lisk-Linux-x86_64/env.sh && pm2 -p etc/pm2-lisk_$N.json list ) || true
ps ux
ps -fp $( pgrep -d, -f "Xvfb :1$N" ) || true;
pkill -f "Xvfb :1$N" -9 || true
ps -fp $( pgrep -d, -f "webpack.*808$N" ) || true
pkill -f "webpack.*808$N" -9 || true
'''
dir('node_modules') {
Expand Down

0 comments on commit 9cb71c0

Please sign in to comment.