<< Back to previous view |
![]() |
[QB-4170] Improve the bug off Jira-Webhook. That ignores the Trigger Condition.
|
|
Status: | Resolved |
Project: | QuickBuild |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | 15.0.8 |
Type: | Bug | Priority: | Critical |
Reporter: | Nguyen Duc Long | Assigned To: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Remaining Estimate: | Unknown | Time Spent: | Unknown |
Original Estimate: | Unknown |
Description |
Webhook build is triggered regardless of Trigger Condition.
In the source code, although the condition is false, only warning is logged and keep going. /* JiraWebhookResource.java */ private void triggerBuild(Configuration configuration, Map<String, Object> context) { ... if (!start) { // start is the result of evaluating Trigger Condition. log.warn("No need to start build due to build condition not match, configuration: {}", configuration); return; // should return because 'Trigger Condition' is false } BuildRequest request = new BuildRequest(); ... |