CAST HIGHLIGHT - CLI - How to add timestamp / release version / build number along with the application snapshot label?

User wants to add timestamp to the application snapshot label details displayed on the application result page.

1.jpg

 

 

Solution

Please use timestamp as a string, along with the option --snapshotLabel in the command line.

 

eg

java -jar HighlightAutomation.jar --workingDir "C:\highlight-myproject" --sourceDir "C:\myproject\src" --login "john.doe@acme.com" --password "*******" --applicationId 1234 --companyId 5678 --serverUrl https://rpa.casthighlight.com --snapshotLabel "timestamp"

 

Similarly  release version, build number can also be added.

 

NB:

--snapshotLabel (optional) will generate the application snapshot label you want to display on the application result page on the portal (e.g. release version, build number, etc.).

Please refer  Highlight Automated Code Scan (Command Line)    for more details and other options.

--snapshotDatetime (optional) Time (epoch) to use for uploaded application snapshot.

For using this option you may have to put in an epoch time for this. Please refer https://www.epochconverter.com/  for conversion to epoch time.

 

 

Ticket

48822

 

Additional Resources

CAST Highlight Troubleshooting Guides

CAST Highlight Product Documentation

Have more questions? Submit a request

Comments

Powered by Zendesk