CI: fix no DNS after tests killed (#29090)

* CI: fix no DNS after tests killed

* fix
This commit is contained in:
Adeeb Shihadeh 2023-07-21 18:35:29 -07:00 committed by GitHub
parent 4bac67c0f5
commit e8b20b7f81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

6
Jenkinsfile vendored
View File

@ -18,6 +18,12 @@ export GIT_SSH_COMMAND="ssh -i /data/gitkey"
source ~/.bash_profile
if [ -f /TICI ]; then
source /etc/profile
if ! systemctl is-active --quiet systemd-resolved; then
echo "restarting resolved"
sudo systemctl start systemd-resolved
sleep 3
fi
fi
if [ -f /data/openpilot/launch_env.sh ]; then
source /data/openpilot/launch_env.sh