I want to delete an uploaded binary from the console


Volt MX Version: 9.5.36
Operating System: macos 14.6.1
Database (if appropriate):
Server: Tomcat


Problem/Query:

Volt MX Iris continuous integration was successful, but I get an error when I have 10 uploaded binaries. If I upload manually, it erases the oldest ones first. Is there any way to achieve the same thing in the console?

What I tried

I ran the downloaded jar myself and looked for a command to remove the binary.
/bundles/com.kony.studio.viz.core.mac64/konywebstudio/lib/mf/mfcli.jar
There was no command that looked like that, so I gave up.

  • Error console
[2025-05-22T06:32:13.537] [INFO] ci - 
---❏ Upload web archive ---


[2025-05-22T06:32:13.538] [DEBUG] ci - mf app upload args: -DKONY_MFCLI_PROPERTIES_FILE=/home/runner/work/Library/Library/Library/HeadlessBuild.properties -jar /home/runner/work/Library/Library/bundles/com.kony.studio.viz.core.mac64/konywebstudio/lib/mf/mfcli.jar binary-upload -a Library -bp /home/runner/work/Library/Library/temp/Library/build/wap/build/Library.zip -plat web_phone --binary-version 1.0.10 --description 'Binary for Library' --display-name Library -v 1.0 -t ****** -clurl https://manage.hclvoltmx.com --channels responsive_web

[2025-05-22T06:32:19.822] [DEBUG] ci - mf upload response:
 Uploading client binary /home/runner/work/Library/Library/temp/Library/build/wap/build/Library.zip
06:32:19.797 [main] ERROR com.kony.console.tools.api.MobileFabricException - HTTP POST on https://******.workspace.hclvoltmx.net/api/v1/ws/******/apps/******/clientbins/create failed for [Upload app client binary] with status 412. Details - {"domain":"WAAS","code":-17,"message":"Web packages count in Foundry app reached max limit of 10.","details":{"message":"Web packages count in Foundry app reached max limit of 10.","errcode":-17,"errmsg":"Web packages count in Foundry app reached max limit of 10."},"httpstatus":"PRECONDITION_FAILED","httpStatusCode":412}


Error: 025-05-22T06:32:19.822] [ERROR] ci - mf upload error: ERROR: HTTP POST on https://******.workspace.hclvoltmx.net/api/v1/ws/******/apps/******/clientbins/create failed for [Upload app client binary] with status 412. Details - {"domain":"WAAS","code":-17,"message":"Web packages count in Foundry app reached max limit of 10.","details":{"message":"Web packages count in Foundry app reached max limit of 10.","errcode":-17,"errmsg":"Web packages count in Foundry app reached max limit of 10."},"httpstatus":"PRECONDITION_FAILED","httpStatusCode":412}


Error: 025-05-22T06:32:19.824] [ERROR] ci - Build Failed!
- CustomError: Error while uploading web client binary. ERROR: HTTP POST on https://******.workspace.hclvoltmx.net/api/v1/ws/******/apps/******/clientbins/create failed for [Upload app client binary] with status 412. Details - {"domain":"WAAS","code":-17,"message":"Web packages count in Foundry app reached max limit of 10.","details":{"message":"Web packages count in Foundry app reached max limit of 10.","errcode":-17,"errmsg":"Web packages count in Foundry app reached max limit of 10."},"httpstatus":"PRECONDITION_FAILED","httpStatusCode":412}

Hi

Thanks for posting your questions in this forum.

This behavior is already documented in our documentation as below

You can upload maximum up to 10 Web Client Binaries for an app.

Please find the documentation →

It is working as expected.

3 Likes

Thank you for your response. I really appreciate it.

Does this mean that the only way to remove binaries is to manually remove them from Foundry and not within CI/CD?

Hi

Thanks for the quick response.

As of now using CI/CD you can perform below actions

build-cancel Command to cancel build for iris project
build-download Command to download artifacts for given build
build-status Command to check build status or fetch status url for given build
build-trigger Command to trigger build for iris project
build-upload Command to upload iris project for build

You cannot delete a binary directly using CI/CD build process. kindly check below documentation

1 Like

I didn’t know there was documentation here.
I’ll try some more with that.