Interface BuildPromotionInfo

    • Method Detail

      • getId

        long getId()
        Returns id of the build promotion
        Returns:
        see above
      • getDirectDependencies

        Collection<BuildPromotionInfo> getDirectDependencies()
        Returns direct snapshot dependencies of this build promotion
        Returns:
        see above
      • getParameters

        @NotNull
        Map<String,​String> getParameters()
        Returns combined map of default and custom parameters. Combined map contains both build and configuration parameters. Custom parameters take precedence over default parameters.

        Note that parameters returned by this method can be modified before they are passed to agent, see ParametersPreprocessor for more details.

        Returns:
        see above
        Since:
        6.5
      • getBuildParameters

        @NotNull
        Map<String,​String> getBuildParameters()
        Returns combined map of default and custom defined build parameters. Custom build parameters takes precedence over default parameters.

        Note that parameters returned by this method can be modified before they are passed to agent, see ParametersPreprocessor for more details.

        Returns:
        see above
      • getCanRunOnAgents

        @NotNull
        Collection<SBuildAgent> getCanRunOnAgents​(@NotNull
                                                  Collection<SBuildAgent> available)
        Returns collection of agents where this build promotion can be executed. Returned agents are compatible with this build promotion, and build promotion build configuration is allowed to be executed on these agents.
        Returns:
        see above
        Since:
        7.0
      • isAgentLessBuild

        boolean isAgentLessBuild()
        Does it build cannot be executed on any usual agent but only by some external process.
        Returns:
        true if the build cannot be executed on any usual agent; false - if the build can be executed on usual agent
        Since:
        2019.2
      • isCompositeBuild

        boolean isCompositeBuild()
        Returns:
        true if this build is composite
        Since:
        2020.2.1