Class TagBasedBuildChainModifier


  • public class TagBasedBuildChainModifier
    extends Object
    • Constructor Detail

      • TagBasedBuildChainModifier

        public TagBasedBuildChainModifier​(@NotNull
                                          BuildPromotion top,
                                          @NotNull
                                          BuildQueueEx buildQueue,
                                          @NotNull
                                          List<String> tagsToSkip,
                                          @NotNull
                                          List<String> tagsToInclude,
                                          @Nullable
                                          String cancelBuildComment)
        Parameters:
        top - top build of the build chain to apply changes to
        buildQueue -
        tagsToSkip - build configurations from the chain which are marked with such tags will be removed from the build chain, including their dependencies (unless such dependencies have non-skipped usages)
        tagsToInclude - if not empty, the resulting chain will contain only build configurations tagged with marked by tagsToInclude tags + path from the top build to the included configuration + dependencies of the included configuration. If tagsToSkip is present, too, it overrides tagsToInclude, i.e. it is possible to exclude configurations which are explicitly marked for inclusion.
        cancelBuildComment - if null, the builds to skip will be silently removed, otherwise they will be canceled with this comment
    • Method Detail

      • applyChanges

        public void applyChanges()