There is a race condition between deleting a log and the log being deleted. This results in a double delete of the log, which will cause the build to fail. These issues have been addressed by upgrading to Delete log Plugin version 1.1 and above. To prevent this, you can give all users who are allowed to view logs Read permission.

To upgrade Delete log Plugin, follow the steps described in the Upgrade Jenkins and Update Code section. After completing the upgrade, you can give all users who are allowed to view logs Read permission, as an additional security measure.

Upgrade Jenkins and Update Code

To upgrade Delete log Plugin, follow the steps described in the Upgrade Jenkins and Update Code section. After completing the upgrade, you can give all users who are allowed to view logs Read permission, as an additional security measure.

Understand Jenkins and its components

The Jenkins Administration plugin provides a graphical user interface for managing the various components of a Jenkins environment. You can use it to see the status of jobs and their build, to view logs, to monitor the health of your services, and more.

##jenkins-logs-plugin-upgrade -instructions

To upgrade Delete log Plugin, follow the steps described in the Upgrade Jenkins and Update Code section. After completing the upgrade, you can give all users who are allowed to view logs Read permission, as an additional security measure.

Upgrade Jenkins and Update Code

Upgrade Jenkins and Update Code
Jenkins is the premier open source automation server. It consists of a master and agent nodes that work together to schedule jobs. The master node has many plugins which can be used by jobs running on any agent nodes in the cluster, but most of these plugins are not meant for security or sensitive data management. In order to manage Jenkins more securely, you can upgrade the core plugins with extra features that make it harder to run commands on your system. This guide will show you how to upgrade Jenkins and install plugins that improve security in your environment.
To upgrade Jenkins, follow these steps:
1) Upgrade Jenkins using an external plugin
2) Delete logs from old versions of Delete log Plugin
3) Setup new version of Delete log plugin
4) Upgrade Jenkins again using internal plugin

Timeline

Published on: 11/15/2022 20:15:00 UTC
Last modified on: 11/18/2022 04:54:00 UTC

References