Class BuildInfoExporterAction

    • Method Detail

      • addBuildReference

        public void addBuildReference​(String triggeredProject,
                                      int buildNumber,
                                      Result buildResult)
      • getTriggeredBuilds

        @Exported(visibility=1)
        public List<AbstractBuild<?,​?>> getTriggeredBuilds()
        Gets all the builds triggered from this one, filters out the items that were non blocking, which we don't have a builds for. Used in the UI for see Summary.groovy
        Returns:
        a list of builds that are triggered by this build. May contains null if a project or a build is deleted.
      • getTriggeredProjects

        @Exported(visibility=1)
        public List<AbstractProject<?,​?>> getTriggeredProjects()
        Gets all the projects that triggered from this one which were non blocking, which we don't have a builds for. Does not include builds that are returned in #link{getTriggeredBuilds} Used in the UI for see Summary.groovy
        Returns:
        List of Projects that are triggered by this build. May contains null if a project is deleted.
      • readResolve

        public Object readResolve()
        Handle cases from older builds so that they still add old variables if needed to. Should not show any UI as there will be no data added.
        Returns:
      • getProjectListString

        protected String getProjectListString​(String separator)
        Get a list of projects as a string using the separator
        Parameters:
        separator -
        Returns:
        list of projects separated by separator