Class BlockingBehaviour
java.lang.Object
hudson.model.AbstractDescribableImpl<BlockingBehaviour>
hudson.plugins.parameterizedtrigger.BlockingBehaviour
- All Implemented Interfaces:
Describable<BlockingBehaviour>
Determines how to handle the status of the triggered builds in
TriggerBuilder
.- Author:
- Kohsuke Kawaguchi
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBlockingBehaviour
(Result buildStepFailureThreshold, Result unstableThreshold, Result failureThreshold) BlockingBehaviour
(String buildStepFailureThreshold, String unstableThreshold, String failureThreshold) -
Method Summary
Modifier and TypeMethodDescriptionMaps the result of a triggered build to the result of the triggering build.boolean
Maps the result of a triggered build to the result of the triggering build step.Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Field Details
-
buildStepFailureThreshold
-
unstableThreshold
-
failureThreshold
-
-
Constructor Details
-
BlockingBehaviour
-
BlockingBehaviour
-
-
Method Details
-
mapBuildStepResult
Maps the result of a triggered build to the result of the triggering build step.- Parameters:
r
- theResult
of the triggered build to map- Returns:
false
if the triggering build step has to fail,true
otherwise
-
mapBuildResult
Maps the result of a triggered build to the result of the triggering build.- Parameters:
r
- theResult
of the triggered build to map- Returns:
- the result of the triggering build
-