Actions
action #130375
closedAutomatically update jenkins plugins on jenkins.qa.suse.de
Start date:
2023-06-05
Due date:
% Done:
0%
Estimated time:
Description
Motivation¶
I unregularly update plugins on jenkins.qa.suse.de. To ensure regular updates we should look for an automatic approach.
Acceptance criteria¶
- AC1: http://jenkins.qa.suse.de/manage/pluginManager/ commonly shows an empty list of pending updates
Suggestions¶
- Research best practices for automatic update application and apply that
Updated by okurz over 1 year ago
- Due date set to 2023-06-19
- Status changed from New to Feedback
Updated by okurz over 1 year ago
https://gitlab.suse.de/openqa/salt-states-openqa/-/merge_requests/873/ merged. I added roles: jenkins
to jenkins.qa.suse.de:/etc/salt/grains
Updated by okurz over 1 year ago
The systemd timer and service is deployed on jenkins.qa.suse.de:
Tue 2023-06-13 03:00:00 CEST 16h left Mon 2023-06-12 03:00:00 CEST 7h ago jenkins-plugins-update.timer jenkins-plugins-update.service
# journalctl -u jenkins-plugins-update.service
Jun 10 03:00:00 jenkins systemd[1]: Started Automatically update jenkins plugins..
Jun 10 03:00:05 jenkins systemd[1]: jenkins-plugins-update.service: Main process exited, code=exited, status=1/FAILURE
Jun 10 03:00:05 jenkins systemd[1]: jenkins-plugins-update.service: Failed with result 'exit-code'.
Jun 11 03:00:00 jenkins systemd[1]: Started Automatically update jenkins plugins..
Jun 11 03:00:03 jenkins systemd[1]: jenkins-plugins-update.service: Main process exited, code=exited, status=1/FAILURE
Jun 11 03:00:03 jenkins systemd[1]: jenkins-plugins-update.service: Failed with result 'exit-code'.
-- Boot 1194fe190b0749d28399e2a08afc85f6 --
Jun 12 03:00:00 jenkins systemd[1]: Started Automatically update jenkins plugins..
Jun 12 03:00:02 jenkins systemd[1]: jenkins-plugins-update.service: Main process exited, code=exited, status=1/FAILURE
Jun 12 03:00:02 jenkins systemd[1]: jenkins-plugins-update.service: Failed with result 'exit-code'.
Calling with bash -ex …
the ssh port is not properly parsed so added
https://gitlab.suse.de/openqa/salt-states-openqa/-/merge_requests/880
Updated by okurz over 1 year ago
- Due date deleted (
2023-06-19) - Status changed from Feedback to Resolved
http://jenkins.qa.suse.de/manage/pluginManager/ is empty as the service automatically applied updates so we are good.
Updated by jbaier_cz 8 months ago
- Related to action #158505: Failed systemd services alert for jenkins-plugins-update size:S added
Actions