(→AHPSCRIPTS-42)
|
(→AHPSCRIPTS-70)
|
Line 71: | |||
JobStatusEnum.SUCCESS_WARN | JobStatusEnum.SUCCESS_WARN | ||
}));</pre> | }));</pre> | ||
+ | = Run Job Only if Requests Were Certain Type (Manual) = | ||
+ | ==== AHPSCRIPTS-69 ==== | ||
+ | <pre>import com.urbancode.anthill3.domain.buildrequest.RequestSourceEnum; | ||
+ | return new Criteria() { | ||
+ | public boolean matches(Object obj) throws Exception { | ||
+ | return RequestSourceEnum.MANUAL.equals(BuildRequestLookup.getCurrent().getRequestSource()); | ||
+ | } | ||
+ | } </pre> |