Package com.nirima.jenkins.action

Examples of com.nirima.jenkins.action.ProjectRepositoryAction


        } else {
            theProject = theCause.getUpstreamProject();
            theBuild = theCause.getUpstreamBuild();
        }

        return new ProjectRepositoryAction(theProject, theBuild, this.build);


    }
View Full Code Here


        {
            suffix = build;
            id = getLastSuccessfulBuildNumber(project);
        }

        return new ProjectRepositoryAction(project, id, suffix);
    }
View Full Code Here

        RepositoryAction repositoryAction = run.getAction(RepositoryAction.class);

        if( repositoryAction != null ) {
            if( repositoryAction instanceof ProjectRepositoryAction ) {
                final ProjectRepositoryAction projectRepositoryAction = (ProjectRepositoryAction) repositoryAction;

                AbstractProject item = (AbstractProject)Hudson.getInstance().getItem(projectRepositoryAction.getProjectName());


                Optional<Run> r = Iterables.tryFind(item.getBuilds(), new Predicate<Run>() {
                    public boolean apply(Run run) {
                        return run.getNumber() == projectRepositoryAction.getBuildNumber();
                    }
                });

                if( r.isPresent() )
                    traverseChain(visitor, r.get());
View Full Code Here

TOP

Related Classes of com.nirima.jenkins.action.ProjectRepositoryAction

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.