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

RunTestSet script fails if the 'Planned host name' field is empty in the quality center test lab

    Details

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

      Description

      If you forget to fill in the 'Planned host name' field in the test lab of QC that you are executing using this plugin, then the Jenkins job will fail.

      I've added an if statement to the runtestset script which checks for this and sets the hostname to localhost by default if this value is missing. This is perfect for us as we have slave jenkins nodes on window boxes that execute QTP tests locally. (see lines 246 to 250 of attached runTestSet.vbs)

        Attachments

          Activity

          Hide
          rseguy Romain Seguy added a comment -

          Thanks for your input. I'll apply your patch before the end of this week.

          Show
          rseguy Romain Seguy added a comment - Thanks for your input. I'll apply your patch before the end of this week.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: rseguy
          Path:
          .gitignore
          README.md
          pom.xml
          src/main/resources/runTestSet.vbs
          http://jenkins-ci.org/commit/qc-plugin/d3f0c211cad75a20b826fc5071e7edf46ba17861
          Log:
          [FIXED JENKINS-9267]

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: rseguy Path: .gitignore README.md pom.xml src/main/resources/runTestSet.vbs http://jenkins-ci.org/commit/qc-plugin/d3f0c211cad75a20b826fc5071e7edf46ba17861 Log: [FIXED JENKINS-9267]
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: rseguy
          Path:
          .gitignore
          README.md
          pom.xml
          src/main/resources/runTestSet.vbs
          http://jenkins-ci.org/commit/qc-plugin/d3f0c211cad75a20b826fc5071e7edf46ba17861
          Log:
          [FIXED JENKINS-9267]

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: rseguy Path: .gitignore README.md pom.xml src/main/resources/runTestSet.vbs http://jenkins-ci.org/commit/qc-plugin/d3f0c211cad75a20b826fc5071e7edf46ba17861 Log: [FIXED JENKINS-9267]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: