Getting started
LemonTree.Connect.Automation (LTCA) is a headless (no UI), server-based version of LemonTree.Connect to import and export between Polarion and Enterprise Architect Modeler.
It is build to be able to deployed easily on your agents allowing integration into your Jenkins, Teamcity or similar workflows.
You can download the latest version from our server via
Invoke-WebRequest -Uri https://nexus.lieberlieber.com/repository/lemontree-release/LemonTree.Automation/LemonTree.Connect.Polarion.Automation_latest.zip -outfile "lta.zip"
Just extract to a folder of your choice and you are ready to go.
System requirements
See the main requirements for details on version compatibility and rough hardware requirements.
LemonTree.Connect.Automation is also offered as an UNIX version, which work in most common Linux distributions. Testing was mainly done in a minimal Ubuntu container and WSL.
Features
LTCA offers all features of LemonTree.Connect in a CLI environment. To get started, please see the specific pages for further details on how to built your commands.
-
Import allows importing Polarion Elements directly to your EA model
-
Export allows exporting EA Elements and Diagrams into Polarion
Licensing
A license is required to use LTCA for Polarion. To apply a license, just add --license argument to any call with the path to your .lic file. This option takes either an folder or a .lic-file directly.
--license C:\Path\To\your\License.lic
Contact us to get your trial license today!
Floating license
You can utilize floating licenses, meaning your agents only request a license during runtime. You will still need a .lic file locally but with only one line.
HOST (Hostname) ANY (Port)
Logging
All commands can be extended with a --log option to ensure a specific path is being used for logging files.
Exit codes
The following exit codes can be produced by LemonTree.Connect.Automation:
Some consoles only use postive numbers between 0 and 255 as exit codes, in those cases -2 and -1 are converted to 254 or 255 respectively.
Exit Code Windows | Exit Code Linux | Description |
---|---|---|
-3 | 253 | Password and Token are empty |
-2 | 254 | General Error handled during application execution (import and export) |
-1 | 255 | Error during parsing of command line parameters. |
0 | 0 | Command completed successfully. |
1 | 1 | Error with license (see above or main Chapter on Licensing) |