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

Key: QB-965
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Won't Fix
Priority: Minor Minor
Assignee: Robin Shen
Reporter: Marek Defecinski
Votes: 1
Watchers: 2
Operations

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

When there is not file to transfer quickbuild fails with error 500

Created: 30/Jun/11 10:25 AM   Updated: 27/Dec/12 01:55 PM
Component/s: None
Affects Version/s: 3.1.25
Fix Version/s: None

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


 Description  « Hide
Sometimes when doing publish artifacts step when output was not produced we get.


ERROR - Step 'Publish image and apk' is failed.
    com.pmease.quickbuild.RemotingException: java.io.IOException: Server returned HTTP response code: 500 for URL: http://10.96.64.47:8811/file_transfer?baseDir=/var/lib/quickbuild/workspace/production/output&filePatterns=*%2F**&compress=false

and the build fails.

I would prefer to have a message "No files to transfer" instead.
Ideally would like to have possibility to fail or not the build when no files are available.

 All   Comments   Work Log   Change History      Sort Order:
Robin Shen [30/Jun/11 11:22 PM]
For now, this can be achieved by scripting the step condition to check existence of published files. Further, you can add a step of type "misc/fail this step" to fail the build by checking existence of the published files.