Package com.groupon.jenkins.dynamic.build

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


        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

Related Classes of com.groupon.jenkins.dynamic.build.DbBackedProject

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.