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

Quality Center plugin fails when timeout is not set

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: qc-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      When the timeout is not set, the parameters of the VB script are shifted:

      [XXX] $ cscript /nologo XXX\runTestSet.vbs XXX/qcbin XXX ******** XXX XXX XXX XXX XXX.xml  RUN_REMOTE XXX
      12/6/2011 2:40:01 PM : Script parameters:
      12/6/2011 2:40:01 PM : *************************************************
      12/6/2011 2:40:01 PM : QC Server       : XXX
      12/6/2011 2:40:01 PM : QC UserName     : XXX
      12/6/2011 2:40:01 PM : QC Password     : ********
      12/6/2011 2:40:01 PM : QC Domain       : XXX
      12/6/2011 2:40:01 PM : QC Project      : XXX
      12/6/2011 2:40:01 PM : QC TestSetFolder: XXX
      12/6/2011 2:40:01 PM : QC TestSetName  : XXX
      12/6/2011 2:40:01 PM : XML Junit File  : XXX.xml
      12/6/2011 2:40:01 PM : Timeout         : RUN_REMOTE
      12/6/2011 2:40:01 PM : *************************************************
      12/6/2011 2:40:01 PM : RunMode         : XXX
      The RunMode parameter must be RUN_PLANNED_HOST, RUN_REMOTE or RUN_LOCAL.
      FATAL: Couldn't run tests
      

        Attachments

          Activity

          Hide
          rseguy Romain Seguy added a comment -

          The issue occurs because the timeout is a string and not an int + there's no default value, contrary to what's mentioned in the help.

          Show
          rseguy Romain Seguy added a comment - The issue occurs because the timeout is a string and not an int + there's no default value, contrary to what's mentioned in the help.
          Hide
          rseguy Romain Seguy added a comment -

          Fixed. To be delivered in 1.2.

          Show
          rseguy Romain Seguy added a comment - Fixed. To be delivered in 1.2.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: rseguy
          Path:
          src/main/java/com/michelin/cio/hudson/plugins/qc/QualityCenter.java
          http://jenkins-ci.org/commit/qc-plugin/f8a0435892a38f22a3b120faabebad02ab63efd4
          Log:
          [FIXED JENKINS-12023] Quality Center plugin fails when timeout is not set

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: rseguy Path: src/main/java/com/michelin/cio/hudson/plugins/qc/QualityCenter.java http://jenkins-ci.org/commit/qc-plugin/f8a0435892a38f22a3b120faabebad02ab63efd4 Log: [FIXED JENKINS-12023] Quality Center plugin fails when timeout is not set

            People

            • Assignee:
              rseguy Romain Seguy
              Reporter:
              rseguy Romain Seguy
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: