• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

UiPath / uipathcli / 12515262277
90%
main: 91%

Build:
Build:
LAST BUILD BRANCH: chore/update-readme
DEFAULT BRANCH: main
Ran 27 Dec 2024 11:03AM UTC
Jobs 1
Files 93
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

27 Dec 2024 10:50AM UTC coverage: 90.365% (-0.09%) from 90.453%
12515262277

push

github

thschmitt
Add support to analyze and package studio projects

Integrated uipathcli with UiPath Studio to build, package and analyze
studio projects.

Added two new plugin commands:

- `uipath studio package analyze`
- `uipath studio package pack`

Implementation:

- Created infrastructure to download external plugins like the uipcli.
  The studio commands download the uipcli to the user cache dir
  and use it for packaging any studio project. Depending on the
  targetFramework the uipathcli either downloads the tool chain for
  building and packaging cross-platform or windows Studio projects.

- Added `ExecCmd` abstraction which is used to start processes and
  can easily be faked in unit tests in order to validate the behavior with
  different exit codes

- Refactored the existing browser launcher to use the `ExecCmd`
  abstraction

- Extended the progress bar rendering to allow displaying a simple bar
  without any percentage or bytes indicator so that the build process
  can be visualized without knowing the total time in advance.

- Increment the uipathcli version to 2.0.
  There are no backwards-incompatible changes. The major version increase
  only indicates that an important new feature has been added.

Examples:

`uipath studio package analyze --source plugin/studio/projects/crossplatform`

```
analyzing...        |██████████          |
```

```
{
  "error": null,
  "status": "Succeeded",
  "violations": [
    ...
  ]
}
```

`uipath studio package pack --source plugin/studio/projects/crossplatform --destination . --debug`

```
uipcli Information: 0 : Packing project(s) at path plugin\studio\projects\crossplatform\project.json...
uipcli Information: 0 : Orchestrator information is not provided, hence, orchestrator feeds will not be used.
uipcli Information: 0 : Proceeding with the local feeds...
uipcli Information: 0 : Detected schema version 4.0
...
uipcli Information: 0 : Packaged project MyProcess v1.0.2 saved to MyProcess.1.0.2.nupkg.
```

```
{
  "... (continued)

698 of 818 new or added lines in 25 files covered. (85.33%)

4933 of 5459 relevant lines covered (90.36%)

1.01 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
91.67
-8.33% log/debug_logger.go
4
77.78
auth/browser_launcher.go
4
84.0
utils/directories.go
4
94.87
-5.13% utils/progress_bar.go
8
68.0
plugin/studio/studio_project_reader.go
8
75.0
plugin/studio/uipcli.go
17
66.67
plugin/zip_archive.go
18
75.68
plugin/external_plugin.go
22
89.22
plugin/studio/package_pack_command.go
32
85.45
plugin/studio/package_analyze_command.go
Jobs
ID Job ID Ran Files Coverage
1 12515262277.1 27 Dec 2024 11:03AM UTC 93
90.36
GitHub Action Run
Source Files on build 12515262277
  • Tree
  • List 93
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 8d2010af on github
  • Prev Build on main (#12463628428)
  • Next Build on feature/studio (#12594758457)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc