mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-18 06:22:29 +00:00
when the slave is offline, don't crap out.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9612 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
fc7a82da8c
commit
f70901a7c6
1 file changed
+5
@@ -334,6 +334,11 @@ public abstract class FormFieldValidator {
|
||||
try {
|
||||
FilePath ws = getBaseDirectory(p);
|
||||
|
||||
if(ws==null) {// can't check
|
||||
ok();
|
||||
return;
|
||||
}
|
||||
|
||||
if(!ws.exists()) {// no workspace. can't check
|
||||
ok();
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user