<< Back to previous view

[QB-965] When there is not file to transfer quickbuild fails with error 500
Created: 30/Jun/11  Updated: 27/Dec/12

Status: Resolved
Project: QuickBuild
Component/s: None
Affects Version/s: 3.1.25
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Marek Defecinski Assigned To: Robin Shen
Resolution: Won't Fix Votes: 1
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown


 Description   
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.

 Comments   
Comment by 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.
Generated at Mon May 20 23:14:54 UTC 2024 using JIRA 189.