-
Improvement
-
Resolution: Fixed
-
Major
-
None
Right now, there is no easy way to detect computer was created/deleted/updated.
Detecting the deletion/rename is needed by cloud-stats-plugin to track the time slave was used.
- causes
-
JENKINS-56403 Renaming jenkins agents persists previously named agent on restart
-
- Resolved
-
- links to
[JENKINS-33780] Listener for slave creation/deletion/update.
Description |
Original:
Right now, there is no easy way to detect computer was created or deleted. Detecting the deletion is needed by cloud-stats-plugin to track the time slave was used. |
New:
Right now, there is no easy way to detect computer was created/deleted/updated. Detecting the deletion/rename is needed by cloud-stats-plugin to track the time slave was used. |
Summary | Original: Listener for slave/computer creation/deletion | New: Listener for slave creation/deletion/update. |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Remote Link | New: This issue links to "PR #2314 (Web Link)" [ 14276 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Progress [ 3 ] | New: Resolved [ 5 ] |
Labels | New: lts-candidate |
Code changed in jenkins
User: Oliver Gondža
Path:
core/src/main/java/hudson/model/Computer.java
core/src/main/java/jenkins/model/NodeListener.java
core/src/main/java/jenkins/model/Nodes.java
test/src/test/java/jenkins/model/NodeListenerTest.java
http://jenkins-ci.org/commit/jenkins/f21fe5450ba82b811abe947d6900cec255b2dba9
Log:
[FIXED JENKINS-33780] Introduce NodeListener