mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-14 04:22:16 +00:00
[HUDSON-4531] extension point without a descriptor is now reported with more information for a better troubleshooting.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22098 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
9b981befbe
commit
2e68f75312
27 files changed
+39
-28
No files matched your search
@@ -171,7 +171,7 @@ public abstract class FileSystemProvisioner implements ExtensionPoint, Describab
|
||||
public abstract WorkspaceSnapshot snapshot(AbstractBuild<?,?> build, FilePath ws, TaskListener listener) throws IOException, InterruptedException;
|
||||
|
||||
public FileSystemProvisionerDescriptor getDescriptor() {
|
||||
return (FileSystemProvisionerDescriptor) Hudson.getInstance().getDescriptor(getClass());
|
||||
return (FileSystemProvisionerDescriptor) Hudson.getInstance().getDescriptorOrDie(getClass());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user