Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-37593

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

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • core
    • Jenkins 1.651.3, Windows 7

      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?

          [JENKINS-37593] Batch script executes all commands except "exec-test" using Tessy API

          There are no comments yet on this issue.

            Unassigned Unassigned
            gordon_madden Gordon Madden
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: