Class EndReasons
java.lang.Object
io.jenkins.plugins.batchcontrol.policy.EndReasons
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
public final class EndReasons
extends Object
The reason texts of requests that end without a decision (e2e-04 FD-05, D-54). An expired
request carries the reason in its decision comment, which the request pages show as "Why it
expired"; the same text goes into the EXPIRED notification.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringAn approved run request did not start within the approved-run timeout.static StringD-72b (7): an approved run request whose queue item was cancelled, so it did not start within the approved-run timeout and is never submitted again.static StringA pending request passed the pending timeout.static StringwithEarlierComment(String reason, String earlierComment) The decision comment of an expired request: the reason, followed by an approver's earlier comment when there is one (it is kept, not replaced).
-
Method Details
-
pendingExpired
A pending request passed the pending timeout. -
approvedNotStarted
An approved run request did not start within the approved-run timeout. -
approvedRunCancelled
D-72b (7): an approved run request whose queue item was cancelled, so it did not start within the approved-run timeout and is never submitted again. -
withEarlierComment
The decision comment of an expired request: the reason, followed by an approver's earlier comment when there is one (it is kept, not replaced).
-