
Key: |
QB-4175
|
Type: |
Bug
|
Status: |
Resolved
|
Resolution: |
Fixed
|
Priority: |
Major
|
Assignee: |
Unassigned
|
Reporter: |
Robin Shen
|
Votes: |
1
|
Watchers: |
1
|
If you were logged in you would be able to see more operations.
|
|
|
QuickBuild
Created: 11/Apr/25 12:36 PM
Updated: Today 01:22 PM
|
|
Component/s: |
None
|
Affects Version/s: |
None
|
Fix Version/s: |
15.0.10
|
|
Original Estimate:
|
Unknown
|
Remaining Estimate:
|
Unknown
|
Time Spent:
|
Unknown
|
|
From customer:
I tried to cancel build when running sleep() command and it can be cancelled immediately.
But when I run sleep() command in "Pre-Build Script" the request can not be cancelled.
If build server was hang when a new request has just created, we can not cancel the request to free the queue.
So I think this task is only affect to running build but not for request in queue.
|
Description
|
From customer:
I tried to cancel build when running sleep() command and it can be cancelled immediately.
But when I run sleep() command in "Pre-Build Script" the request can not be cancelled.
If build server was hang when a new request has just created, we can not cancel the request to free the queue.
So I think this task is only affect to running build but not for request in queue. |
Show » |
|
I applied change of this task, here are my steps to test the change:
- Pre-queue script:
sleep(5000)
- Pre-build script:
sleep(20000)
- Cancel Immediately:
Yes
But when I trigger build:
- After 5 seconds, request appear in request queue:
status: CHECKING_BUILD_CONDITION -> RUNNING_BUILD (1)
- After 20 seconds, build was triggered
status: RUNNING_BUILD, duration 20s
- If I cancel request in step (1), the build will be triggered immediately
I think the request should be canceled and not created into a build.
Please help me check if my test is correct.