Class AnyBuildResult

    • Constructor Detail

      • AnyBuildResult

        @DataBoundConstructor
        public AnyBuildResult()
    • Method Detail

      • matches

        public boolean matches​(@NonNull
                               Run<?,​?> run)
        Description copied from class: ConditionalResult
        If matches, will be used to set state
        Specified by:
        matches in class ConditionalResult
        Parameters:
        run - to check against
        Returns:
        true in any case
      • onAnyResult

        public static AnyBuildResult onAnyResult​(org.kohsuke.github.GHCommitState state,
                                                 String msg)
        Parameters:
        state - state to set
        msg - message to set. Can contain env vars
        Returns:
        new instance of this conditional result