mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-10-30 04:55:21 +00:00
[FIXED HUDSON-3152]
In 1.288. Builds blocked by the shut-down process now reports its status accordingly. git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15916 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
712ebaecf6
commit
e0971a5305
4 files changed
+34
-18
No files matched your search
@@ -1074,6 +1074,15 @@ public class Functions {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Prepend a prefix only when there's the specified body.
|
||||
*/
|
||||
public String prepend(String prefix, String body) {
|
||||
if(body!=null && body.length()>0)
|
||||
return prefix+body;
|
||||
return body;
|
||||
}
|
||||
|
||||
private static final Pattern SCHEME = Pattern.compile("[a-z]+://.+");
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user