Key: |
QB-1352
|
Type: |
Improvement
|
Status: |
Resolved
|
Resolution: |
Fixed
|
Priority: |
Major
|
Assignee: |
Robin Shen
|
Reporter: |
Satyam Garg
|
Votes: |
0
|
Watchers: |
0
|
If you were logged in you would be able to see more operations.
|
|
|
QuickBuild
Created: 27/Aug/12 06:03 AM
Updated: 28/Aug/12 12:01 AM
|
|
Component/s: |
None
|
Affects Version/s: |
4.0.20
|
Fix Version/s: |
None
|
|
Original Estimate:
|
Unknown
|
Remaining Estimate:
|
Unknown
|
Time Spent:
|
Unknown
|
Environment:
|
Ubuntu
|
|
I have written a script under "Misc->Execute Script".
After sync the code from perforce the script executes and validated some input given by user.
Problem is if validation fails script will terminate and next step executes.
To mark the build fail I have to throw a execption. Eg: ( throw new QuickbuildException ).
Due to this a lots of logs gets printed and user is not able to make out the exact error.
Looking at the log user thinks it is some environment issue as they do not know we are explicitly throwing exception.
There should be some way to return some error and exit the build.
Also throwing exceptions does not seem good.
Regards,
Satyam Garg
|
Description
|
I have written a script under "Misc->Execute Script".
After sync the code from perforce the script executes and validated some input given by user.
Problem is if validation fails script will terminate and next step executes.
To mark the build fail I have to throw a execption. Eg: ( throw new QuickbuildException ).
Due to this a lots of logs gets printed and user is not able to make out the exact error.
Looking at the log user thinks it is some environment issue as they do not know we are explicitly throwing exception.
There should be some way to return some error and exit the build.
Also throwing exceptions does not seem good.
Regards,
Satyam Garg |
Show » |
No work has yet been logged on this issue.
|
|