Class BlockingBehaviour

    • Field Detail

      • buildStepFailureThreshold

        public final Result buildStepFailureThreshold
      • unstableThreshold

        public final Result unstableThreshold
      • failureThreshold

        public final Result failureThreshold
    • Constructor Detail

      • BlockingBehaviour

        @DataBoundConstructor
        public BlockingBehaviour​(String buildStepFailureThreshold,
                                 String unstableThreshold,
                                 String failureThreshold)
      • BlockingBehaviour

        public BlockingBehaviour​(Result buildStepFailureThreshold,
                                 Result unstableThreshold,
                                 Result failureThreshold)
    • Method Detail

      • mapBuildStepResult

        public boolean mapBuildStepResult​(Result r)
        Maps the result of a triggered build to the result of the triggering build step.
        Parameters:
        r - the Result of the triggered build to map
        Returns:
        false if the triggering build step has to fail, true otherwise
      • mapBuildResult

        @CheckForNull
        public Result mapBuildResult​(Result r)
        Maps the result of a triggered build to the result of the triggering build.
        Parameters:
        r - the Result of the triggered build to map
        Returns:
        the result of the triggering build