Examples of DbBackedProject


Examples of com.groupon.jenkins.dynamic.build.DbBackedProject

    public void deleteBuild(DbBackedBuild build) {
        getDatastore().delete(build);
    }

    public DbBackedBuild getPreviousFinishedBuildOfSameBranch(DbBackedBuild build, String branch) {
        DbBackedProject project = (DbBackedProject) build.getProject();

        DbBackedBuild previousBuild = getQuery(project).
                limit(1).
                order("-number").
                field("actions.causes.branch.branch").equal(branch).
View Full Code Here

Examples of com.groupon.jenkins.dynamic.build.DbBackedProject

        List<DynamicBuild> builds = query.asList();

                DynamicProjectRepository repo = new DynamicProjectRepository();
        for(DbBackedBuild build : builds) {
            DbBackedProject project = repo.getProjectById(build.getProjectId());
            associateProject(project, build);
        }

        return builds;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.