Package hudson.model.DependencyGraph

Examples of hudson.model.DependencyGraph.Dependency


        return true;
    }

    public void buildDependencyGraph(AbstractProject owner, DependencyGraph graph) {
        for (AbstractProject p : getChildProjects(owner))
            graph.addDependency(new Dependency(owner, p) {
                @Override
                public boolean shouldTriggerBuild(AbstractBuild build, TaskListener listener,
                                                  List<Action> actions) {
                    return build.getResult().isBetterOrEqualTo(threshold);
                }
View Full Code Here


                        if (seenUpstreamProjects.contains(p.getName())) {
                            continue;
                        }

                        seenUpstreamProjects.add(p.getName());
                        graph.addDependency(new Dependency(p, owner) {
                            @Override
                            public boolean shouldTriggerBuild(AbstractBuild build,
                                                              TaskListener listener,
                                                              List<Action> actions) {
                                // Fingerprints should not trigger builds.
View Full Code Here

    }

    public void buildDependencyGraph(AbstractProject owner, DependencyGraph graph) {
        for (AbstractProject p : getChildProjects()) {
            if (!StringUtils.equals(p.getName(), owner.getName())) {
                graph.addDependency(new Dependency(owner, p) {
                    @Override
                    public boolean shouldTriggerBuild(AbstractBuild build, TaskListener listener,
                                                      List<Action> actions) {
                        return build.getResult().isBetterOrEqualTo(threshold);
                    }
View Full Code Here

TOP

Related Classes of hudson.model.DependencyGraph.Dependency

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.