
Key: |
QB-4170
|
Type: |
Bug
|
Status: |
Resolved
|
Resolution: |
Fixed
|
Priority: |
Critical
|
Assignee: |
Unassigned
|
Reporter: |
Nguyen Duc Long
|
Votes: |
0
|
Watchers: |
0
|
If you were logged in you would be able to see more operations.
|
|
|
QuickBuild
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
|
|
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();
...
|
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();
... |
Show » |
There are no comments yet on this issue.
|
|