Issues icon indicating copy to clipboard operation
Issues copied to clipboard

Deploy an Azure App Service step fails with "Could Not Find Package" Error using Linux Worker w/ Package from Artifactory Generic Feed in Folder Structure

Open RobMcCarther opened this issue 1 year ago • 0 comments

Severity

Low

Version

2024.4.3238

Latest Version

None

What happened?

When using Deploy an Azure App Service step to deploy a package from an Artifactory generic feed, which is organized in a folder structure, to an Azure Linux WebApp using a Linux worker, the deployment fails with a could not find package error. However, switching to a Windows worker allows the deployment to succeed. This issue is reproducible in both Octopus Cloud and Octopus Server.

Reproduction

  • Create a project in Octopus Deploy that includes a "Deploy an Azure App Service" step.
  • In the deployment step settings, configure it to use a Linux worker.
  • Ensure the step is set to retrieve a package from an Artifactory generic feed, making sure the package is stored in a folder structure.
  • Execute the deployment with the Linux worker and observe the "could not find package" error.
  • Change the worker from Linux to Windows.
  • Execute the deployment once more with the Windows worker to confirm that it completes successfully without errors.

Error and Stacktrace

12:56:03   Error    |       Could not find package file: PackageName.zip

More Information

No response

Workaround

Change the worker for your Deploy an Azure App Service step to a windows worker - the deployment should succeed

RobMcCarther avatar Oct 07 '24 16:10 RobMcCarther