jenkins: kill potentially leftover processes (#24078)

* jenkins: kill potentially leftover processes

* cleaner

* oops

* escape

* might already be dead
pull/24092/head
Adeeb Shihadeh 3 years ago committed by GitHub
parent a688811aa8
commit d14791525d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      Jenkinsfile

7
Jenkinsfile vendored

@ -19,8 +19,13 @@ fi
ln -snf ${env.TEST_DIR} /data/pythonpath
if [ -f /EON ]; then
# kill all old procs in the openpilot cpuset
while read p; do
kill "\$p" || true
done < /dev/cpuset/app/tasks
echo \$\$ > /dev/cpuset/app/tasks || true
echo \$PPID > /dev/cpuset/app/tasks || true
mkdir -p /dev/shm
chmod 777 /dev/shm
fi

Loading…
Cancel
Save