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

Make trx and coverage files paths available to further build steps in VSTestRunner plugin

    XMLWordPrintable

Details

    Description

      There is no convenient way to specify output files for vstest.console.exe. The application generates arbitrary output names for every run like:
      Results File: D:\Projects\Component\TestResults\username_MACHINENAME 2014-03-31 18_27_07.trx

      Attachments:
      D:\Projects\Component\TestResults\e78e4dbd-5664-44de-a32b-91c312c1f7ad\username_MACHINENAME 2014-03-31 18_26_52.coverage

      It will be fine to make those file paths available for next build steps.

      Attachments

        Activity

          Pull request is created:
          http://github.com/jenkinsci/vstestrunner-plugin/pull/2

          Proposed change pumps console output and catches trx and coverage files and then publishes them to next build steps via VSTEST_RESULT_TRX and VSTEST_RESULT_COVERAGE environment variables.

          a_filatov Alexander Filatov added a comment - Pull request is created: http://github.com/jenkinsci/vstestrunner-plugin/pull/2 Proposed change pumps console output and catches trx and coverage files and then publishes them to next build steps via VSTEST_RESULT_TRX and VSTEST_RESULT_COVERAGE environment variables.

          Code changed in jenkins
          User: Yasuyuki Saito
          Path:
          src/main/java/org/jenkinsci/plugins/vstest_runner/VsTestBuilder.java
          src/main/java/org/jenkinsci/plugins/vstest_runner/VsTestListenerDecorator.java
          http://jenkins-ci.org/commit/vstestrunner-plugin/caf3b15ec8f31b82e8d1598f0b4af434da9797c8
          Log:
          Merge pull request #2 from a-filatov/master

          JENKINS-22450 - Make trx and coverage files paths available to further build steps in VSTestRunner plugin

          Compare: https://github.com/jenkinsci/vstestrunner-plugin/compare/7e93f95118ef...caf3b15ec8f3

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Yasuyuki Saito Path: src/main/java/org/jenkinsci/plugins/vstest_runner/VsTestBuilder.java src/main/java/org/jenkinsci/plugins/vstest_runner/VsTestListenerDecorator.java http://jenkins-ci.org/commit/vstestrunner-plugin/caf3b15ec8f31b82e8d1598f0b4af434da9797c8 Log: Merge pull request #2 from a-filatov/master JENKINS-22450 - Make trx and coverage files paths available to further build steps in VSTestRunner plugin Compare: https://github.com/jenkinsci/vstestrunner-plugin/compare/7e93f95118ef...caf3b15ec8f3

          People

            Unassigned Unassigned
            a_filatov Alexander Filatov
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: