jenkinsci / uipath-automation-package-plugin

A Jenkins plugin for packaging UiPath project and deploying it to UiPath Orchestrator
https://plugins.jenkins.io/uipath-automation-package/
Other
24 stars 28 forks source link

Issue packing library with non-public xaml files #138

Open hmartins-solvay opened 1 year ago

hmartins-solvay commented 1 year ago

Jenkins and plugins versions report

We came across a strange issue in UiPath Pack activity within the pipeline when packing libraries.

Usually when we build libraries for code reuse we like to keep some xaml files private, not to be used by developers in the process code.

The issue we are seeing is that the packing of a library where there are non-public xaml files invoking other non-public xaml files, jenkins raises an error saying the latest could not be found. Packaging from Studio work fine.

What Operating System are you using (both controller, and any agents involved in the problem)?

Linux (Unsure) for Controller, Windows Server 2016 for Agent

Reproduction steps

  1. Create a project of type library in Studio
  2. Add 3 xaml files (seq1.xaml, seq2.xaml, seq3.xaml)
  3. in seq1.xaml invoke seq2.xaml and in seq2.xaml invoke seq3.xaml
  4. make seq2.xaml private and seq3.xaml private
  5. run a pack pipeline activity in Jenkins over the library project

Expected Results

Expect it to succeed

Actual Results

It fails with seq3.xaml not found, as if it was not in the project folder on the agent

Anything else?

No response

ThomasStockerUiPath commented 1 year ago

Internal issue created: https://uipath.atlassian.net/browse/TS-2128