VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Deployment status when starting from command line

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.

 

0 Kudos
Message 1 of 3
(177 Views)

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

-------------------------------------------------------
Control Lead | Intelline Inc
0 Kudos
Message 2 of 3
(160 Views)

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.

0 Kudos
Message 3 of 3
(118 Views)