Quantcast
Channel: NI TestStand topics
Viewing all articles
Browse latest Browse all 6730

Deployment Utility Command Line returned exit code in spite of pass

$
0
0

Hi All,

its my first issue entry and I hope im right here. My problme is this. I try to deploy a project with the command line feature of the deployment utility. If I use all necessary options the deploy starts and works fine. The project is being built successfully. But the command returns the exit code 2. I get the same exit code when the built isn't successfully.

Since I'm using the command line function in a Jenkins batch Script the Jenkins stage is always aborting.

 

Is that correct behavior? What can I do? The exit code should be zero if the built was successfully. I dont want to interpret the log file.

 

I use following command line options:

"C:\\Program Files (x86)\\National Instruments\\TestStand 2017\\Bin\\BuildTSD.exe" /deployTSWorkspace TRUE /workspacePath "example.tsw" /DeployEnvironmentFile TRUE /ActiveEnvironmentFile Environment\Environment.tsenv /createInstaller TRUE /installationName "Installer_example" /installerDirectory "example_Inst" /startMenuItemGroup "example" /defaultInstallationBaseDir ProgramFiles /doNotAskUserForInstallationDirectory FALSE /installerLanguage "German" /installTSEngine TRUE /hideLicenseDialog TRUE /manufacturer "example gmbH" /versionString "0.0.1" /copyLogFiles "deployLog" /SaveTSDFile "example.tsd" /UpgradesandPatchesToInclude "TSEngineandDrivers" "example.tsd"

 

Best regards

Lutz


Viewing all articles
Browse latest Browse all 6730

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>