
If you were logged in you would be able to see more operations.
|
|
|
QuickBuild
Created: 17/Jul/06 11:18 AM
Updated: 18/Jul/06 09:14 AM
|
|
Component/s: |
None
|
Affects Version/s: |
None
|
Fix Version/s: |
None
|
|
Original Estimate:
|
Unknown
|
Remaining Estimate:
|
Unknown
|
Time Spent:
|
Unknown
|
Environment:
|
Linux machine, running quickbuild 1.0.5
|
|
If I set the "Build success condition " to this.result==0 my builds run successfully. But, if I set the value to this.result==0 and this.logContainsLine("BUILD SUCCESSFUL"), then my builds are shown as failed from QuickBuild, but the logs look fine. I have selected the "Success condition from Maven" entry from the Choose drop-down menu, so I don't think this is a typo on my part.
|
Description
|
If I set the "Build success condition " to this.result==0 my builds run successfully. But, if I set the value to this.result==0 and this.logContainsLine("BUILD SUCCESSFUL"), then my builds are shown as failed from QuickBuild, but the logs look fine. I have selected the "Success condition from Maven" entry from the Choose drop-down menu, so I don't think this is a typo on my part. |
Show » |
|
Success Condition for Ant
Success Condition for Maven
Success Condition for generic command lines
After looking in the source code for QB1.0.7 I see that there is a 4th option:
Success Condition for Maven2
This option includes the ".*BUILD SUCCESSFUL". I added the ".*" to my condition line and the status indicates a success now.
Thanks again for your help and please disregard my previous comment.
Mike