Stop builds killing each other on the same slave
This commit is contained in:
parent
dc977fe255
commit
fc8bf281ae
1 changed files with 3 additions and 3 deletions
|
|
@ -7,11 +7,11 @@ def doKillLeftovers() {
|
|||
# Don't return an error if the processes don't exist
|
||||
USER=`whoami`
|
||||
ps aux | grep "eclipse"
|
||||
pkill -U "${USER}" -9 eclipse || true
|
||||
# pkill -U "${USER}" -9 eclipse || true
|
||||
ps aux | grep "make"
|
||||
pkill -U "${USER}" -9 make || true
|
||||
# pkill -U "${USER}" -9 make || true
|
||||
ps aux | grep "arm-linux"
|
||||
pkill -U "${USER}" -9 ".*arm-linux.*" || true
|
||||
# pkill -U "${USER}" -9 ".*arm-linux.*" || true
|
||||
"""
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue