06-25-2024 05:09 PM - edited 06-25-2024 05:19 PM
Hello:
Veristand is part of our CI/CD pipeline. It is controlled from PowerShell script using this command:
Start-Process veristand -WindowStyle Maximized -ArgumentList "-OpenProject C:\VeriStand\fcchil.nivsprj -deploy"
This command deploys the project, if everything is fine. But there is no way to get the status of the Deploy command, other than if the test later fails.
Is there any way to figure out, without GUI, that the Deploy command was successful? And if it wasn't successful, get the error message?
Veristand 2023 Q3.
Thank you,
-Ilya Katsnelson.
06-25-2024 07:14 PM
You can try connecting to the gateway.
Connects to a deployed system on the gateway. This command executes after commands for creating the project, opening the project, and modifying the system definition. This command is ignored if deploy is also specified. An error returns if a system is not deployed but a project is open.
Reference: Running VeriStand Operations Using the Command Line
07-08-2024 01:49 PM
I've tried the suggestion - veristand.exe -connect - but it doesn't really do anything. If the project was loaded, but not Deployed it runs and no log and the status is True. I was expecting the command to fail or log some errors if the Deploy didn't execute correctly.