Batch script executes all commands except "exec-test" using Tessy API

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Using Jenkins to run unit tests using the application Tessy, which provides a command line API. Tessy is running on a slave PC and Jenkins is sending commands from a Windows batch script. In the list of commands below, Jenkins will hang indefinitely when it attempts to run exec-test. The same sequence of commands entered in the Command Prompt on the PC executes correctly. If the exec-test line from the Jenkins script is commented out, all other lines will execute.

      ::Startup, path to file
      tessyd --file "C:\ . . . \tessy.pdbx"

      tessycmd connect

      ::Set up test files
      tessycmd select-project "Project_Name"
      tessycmd select-test-collection test5
      tessycmd new-folder -test-collection "Daily Unit Tests %date% %time%"
      tessycmd restore-module "C:\TMB_files\Module_Name.tmb"
      tessycmd select-module Module_Name
      tessycmd analyze

      ::Execute tests
      tessycmd exec-test "C:\test5.tbs"

      tessycmd disconnect

      tessyd shutdown

      What might cause that one command not to execute?

            Assignee:
            Unassigned
            Reporter:
            Gordon Madden
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: