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

Add support to GLOB Ant pattern in test files

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: mstestrunner-plugin
    • Labels:
      None
    • Environment:
      Windows 2012 & Jenkins 1.596.2
    • Similar Issues:

      Description

      Add support to GLOB Ant pattern in test files.
      Actually patterns must identify exactly each articafct that come from build process with a full/relative to workspace path.

      The only workaround is a build step that collect all test container to an enviroment variable and use it in "test files" field of the following mstestrunner step.

        Attachments

          Activity

          Hide
          nfalco79 Nikolas Falco added a comment -

          I Create a new pull request for this improvement.

          Show
          nfalco79 Nikolas Falco added a comment - I Create a new pull request for this improvement.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Nikolas Falco
          Path:
          src/main/java/org/jenkinsci/plugins/MsTestBuilder.java
          http://jenkins-ci.org/commit/mstestrunner-plugin/eb14c5c8e34d9d815c869ba4b58657154ccdd3f1
          Log:
          Fix JENKINS-29389 Quotation marks for /testcategories argument, must be
          used only when multiple category was specifed.
          Fix NPE on when checks noisolation options.
          Fix JENKINS-29391 Add support to Ant GLOB pattern in the Test Files
          field.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Nikolas Falco Path: src/main/java/org/jenkinsci/plugins/MsTestBuilder.java http://jenkins-ci.org/commit/mstestrunner-plugin/eb14c5c8e34d9d815c869ba4b58657154ccdd3f1 Log: Fix JENKINS-29389 Quotation marks for /testcategories argument, must be used only when multiple category was specifed. Fix NPE on when checks noisolation options. Fix JENKINS-29391 Add support to Ant GLOB pattern in the Test Files field.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Nikolas Falco
          Path:
          src/main/java/org/jenkinsci/plugins/MsTestBuilder.java
          http://jenkins-ci.org/commit/mstestrunner-plugin/8b6692c2db87c5b127be82c8a3a08996d06b5da8
          Log:
          Fix JENKINS-29391 add support to full path in testFiles.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Nikolas Falco Path: src/main/java/org/jenkinsci/plugins/MsTestBuilder.java http://jenkins-ci.org/commit/mstestrunner-plugin/8b6692c2db87c5b127be82c8a3a08996d06b5da8 Log: Fix JENKINS-29391 add support to full path in testFiles.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Ido Ran
          Path:
          src/main/java/org/jenkinsci/plugins/MsTestBuilder.java
          http://jenkins-ci.org/commit/mstestrunner-plugin/5ac4d7ee8b74dfad62437154218b7334588f74b5
          Log:
          Merge branch 'JENKINS-29391' of https://github.com/nfalco79/mstestrunner-plugin into nfalco79-JENKINS-29391

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ido Ran Path: src/main/java/org/jenkinsci/plugins/MsTestBuilder.java http://jenkins-ci.org/commit/mstestrunner-plugin/5ac4d7ee8b74dfad62437154218b7334588f74b5 Log: Merge branch ' JENKINS-29391 ' of https://github.com/nfalco79/mstestrunner-plugin into nfalco79- JENKINS-29391
          Hide
          ido_ran Ido Ran added a comment -

          Fixed in 1.2.0

          Show
          ido_ran Ido Ran added a comment - Fixed in 1.2.0
          Hide
          nfalco79 Nikolas Falco added a comment -

          Test on our job and work. All **\bin\${Target}*Tests.dll files are processed

          Show
          nfalco79 Nikolas Falco added a comment - Test on our job and work. All **\bin\${Target}*Tests.dll files are processed

            People

            Assignee:
            ido_ran Ido Ran
            Reporter:
            nfalco79 Nikolas Falco
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: