Skip to content
Snippets Groups Projects
Commit ce46c6e1 authored by Holger Levsen's avatar Holger Levsen
Browse files

jenkins nodes maintenance: issue warning if apt has updates to install


Signed-off-by: default avatarHolger Levsen <holger@layer-acht.org>
parent c7f0721c
No related branches found
No related tags found
No related merge requests found
......@@ -892,6 +892,7 @@ fi
#
# checking for system updates
#
sudo apt-get update
if [ $(apt list --upgradable 2>/dev/null | wc -l) -gt 1 ] ; then
echo "Warning: there are packages to be upgraded on this system."
apt list --upgradable 2>/dev/null
......
......@@ -37,6 +37,7 @@ warning /Warning: .+ has wrong MTU, please tell the jenkins admins to fix this./
warning /Warning: Problems analysing/
warning /Warning: .+ .xiting cleanly as this is out-of-scope./
warning /Warning: Cannot determine diffoscope version in Debian, aborting./
warning /Warning: there are packages to be upgraded on this system./
# If an artifact is created, show it as info
info /- enjoy https:/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment