Class NaginatorPublisher

    • Field Detail

      • DEFAULT_REGEXP_TIMEOUT_MS

        public static final long DEFAULT_REGEXP_TIMEOUT_MS
        See Also:
        Constant Field Values
    • Constructor Detail

      • NaginatorPublisher

        public NaginatorPublisher​(String regexpForRerun,
                                  boolean rerunIfUnstable,
                                  boolean checkRegexp)
      • NaginatorPublisher

        @DataBoundConstructor
        public NaginatorPublisher​(String regexpForRerun,
                                  boolean rerunIfUnstable,
                                  boolean rerunMatrixPart,
                                  boolean checkRegexp,
                                  int maxSchedule,
                                  ScheduleDelay delay)
        constructor.
    • Method Detail

      • readResolve

        public Object readResolve()
      • isRerunIfUnstable

        public boolean isRerunIfUnstable()
      • isRerunMatrixPart

        public boolean isRerunMatrixPart()
      • setNoChildStrategy

        @DataBoundSetter
        public void setNoChildStrategy​(@NonNull
                                       NoChildStrategy noChildStrategy)
        Parameters:
        noChildStrategy - strategy for the case no chilredn to run
        Since:
        1.17
      • getNoChildStrategy

        @NonNull
        public NoChildStrategy getNoChildStrategy()
        Returns:
        the strategy for no children to rerun for a matrix project.
        Since:
        1.17
      • isCheckRegexp

        public boolean isCheckRegexp()
      • isRegexpForMatrixParent

        @Deprecated
        public boolean isRegexpForMatrixParent()
        Returns whether apply the regexp to the matrix parent instead of matrix children. The default is false for naginator-plugin >= 1.16 though true for configurations upgraded from naginator-plugin < 1.16.
        Returns:
        Returns whether apply the regexp to the matrix parent instead of matrix children
        Since:
        1.16
      • getRegexpForRerun

        public String getRegexpForRerun()
      • setRegexpForMatrixStrategy

        @DataBoundSetter
        public void setRegexpForMatrixStrategy​(@NonNull
                                               RegexpForMatrixStrategy regexpForMatrixStrategy)
        Parameters:
        regexpForMatrixStrategy - how to apply regexp to multi-configuration builds
        Since:
        1.17
      • getRegexpForMatrixStrategy

        @NonNull
        public RegexpForMatrixStrategy getRegexpForMatrixStrategy()
        Returns:
        how to apply regexp for matrix builds.
        Since:
        1.17
      • getMaxSchedule

        public int getMaxSchedule()
      • getRequiredMonitorService

        public BuildStepMonitor getRequiredMonitorService()