History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-4170
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Critical Critical
Assignee: Unassigned
Reporter: Nguyen Duc Long
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

Improve the bug off Jira-Webhook. That ignores the Trigger Condition.

Created: 08/Apr/25 01:38 AM   Updated: 08/Apr/25 01:40 PM
Component/s: None
Affects Version/s: None
Fix Version/s: 15.0.8

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
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();
    ...

 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.