Skip to content

html5-push failed when more than one application is provided #14

@RonyHor

Description

@RonyHor

Description

When trying to push more than one html5 application with dist folder, push fail. The problem happens because the name of the zip of all applications is set to same dist.zip archive.
While the fail is received on the final cleanup stage, the result is that same content is pushed several times (same zip file)

See debug log exerpt below:
Adding '/var/folders/q_/dk2j_cnn3djgzpvvp2b_gcwh0000gn/T/dist.zip' as part to multipart request
Adding '/var/folders/q_/dk2j_cnn3djgzpvvp2b_gcwh0000gn/T/dist.zip' as part to multipart request
Making request to: https://html5-apps-repo-dt.cfapps.sap.hana.ondemand.com/applications/content/
Successfully uploaded: [/var/folders/q_/dk2j_cnn3djgzpvvp2b_gcwh0000gn/T/dist.zip /var/folders/q_/dk2j_cnn3djgzpvvp2b_gcwh0000gn/T/dist.zip]
Deleting temporarry zip file: '/var/folders/q_/dk2j_cnn3djgzpvvp2b_gcwh0000gn/T/dist.zip'
Deleting temporarry zip file: '/var/folders/q_/dk2j_cnn3djgzpvvp2b_gcwh0000gn/T/dist.zip'
FAILED
Could not delete zip file '/var/folders/q_/dk2j_cnn3djgzpvvp2b_gcwh0000gn/T/dist.zip' : remove /var/folders/q_/dk2j_cnn3djgzpvvp2b_gcwh0000gn/T/dist.zip: no such file or directory

Environment

  • OS (macOS) -
  • SAP CF Landscape (e.g. Canary) -
  • IaaS provider (e.g. AWS) -
  • Region (e.g. eu10) -

CLI Output

Set environment variable DEBUG=1, run the flow and paste output here.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions