From 3c5ea71bd28f83f65f1f82fa05d6be34417f6458 Mon Sep 17 00:00:00 2001 From: kohsuke Date: Wed, 15 Sep 2010 18:24:59 +0000 Subject: [PATCH] this callback does happen when the project is deleted. git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34847 71c3de6d-444a-0410-be80-ed276b4c234a --- core/src/main/java/hudson/scm/SCM.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/hudson/scm/SCM.java b/core/src/main/java/hudson/scm/SCM.java index 440af2c9f2..0155e9e4b5 100644 --- a/core/src/main/java/hudson/scm/SCM.java +++ b/core/src/main/java/hudson/scm/SCM.java @@ -187,8 +187,11 @@ public abstract class SCM implements Describable, ExtensionPoint { * *

* Note that this method does not guarantee that such a clean up will happen. For example, slaves can be - * taken offline by being physically removed from the network, and in such a case there's no opporunity - * to perform this clean up. Similarly, when a project is deleted or renamed, SCMs do not get any notifications. + * taken offline by being physically removed from the network, and in such a case there's no opportunity + * to perform this clean up. + * + *

+ * This method is also invoked when the project is deleted. * * @param project * The project that owns this {@link SCM}. This is always the same object for a particular instance -- GitLab