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

Key: QB-3713
Type: Bug Bug
Status: Closed Closed
Resolution: Won't Fix
Priority: Major Major
Assignee: Robin Shen
Reporter: Phong Trinh
Votes: 0
Watchers: 0
Operations

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

Exit code of successful copy of Robocopy becomes error code in QuickBuild.

Created: 05/May/21 11:21 PM   Updated: 08/Jan/22 10:09 AM
Component/s: None
Affects Version/s: 10.0.28
Fix Version/s: None

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


 Description  « Hide
 robocopy exit code 0 = no files were copied
 robocopy exit code 1 = files were copied
 When the result is 1, this becomes an error exit code in QuickBuild. How can this be handled?

 Thanks,
ptrinh

 All   Comments   Work Log   Change History      Sort Order:
Robin Shen [05/May/21 11:24 PM]
This violates normal contract of exit code. You may consider write a wrapping shell/batch script to return 0 on files being copied, and non-zero otherwise.

Phong Trinh [05/May/21 11:33 PM]
Thanks. Robocopy returns weird exit codes.

Change by Robin Shen [08/Jan/22 10:09 AM]
Field Original Value New Value
Status Open [ 1 ] Closed [ 6 ]
Resolution Won't Fix [ 2 ]