mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-04 23:55:52 +00:00
introduced more stories around Item/ItemGroup and full names.
updating the rest of the code to work with this. git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1826 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
95a7082efe
commit
db430b3896
21 files changed
+325
-172
No files matched your search
@@ -5,6 +5,7 @@ import hudson.model.ModelObject;
|
||||
import hudson.model.Node;
|
||||
import hudson.model.Project;
|
||||
import hudson.model.Run;
|
||||
import hudson.model.Items;
|
||||
import org.kohsuke.stapler.Ancestor;
|
||||
import org.kohsuke.stapler.StaplerRequest;
|
||||
|
||||
@@ -162,7 +163,7 @@ public class Functions {
|
||||
}
|
||||
|
||||
public static String getProjectListString(List<Project> projects) {
|
||||
return Project.toNameList(projects);
|
||||
return Items.toNameList(projects);
|
||||
}
|
||||
|
||||
public static Object ifThenElse(boolean cond, Object thenValue, Object elseValue) {
|
||||
|
||||
Reference in new issue
Block a user