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

plugins don't expand environment variables in paths

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • junit-plugin
    • None
    • Platform: All, OS: All

      Found in build 287

      The clover and Junit plugins should support environment variable expansion in the configuration path to
      the reports directory. I suspect there are other plugins as well that need this (haven't started using the
      Findbugs plugin yet...)

      Background:
      The clearcase plugin recommends that an environment variable be used in the view name to make them
      unique. Unfortunately, that view name ends up as part of the path needed by these plugins.

          [JENKINS-3451] plugins don't expand environment variables in paths

          Code changed in hudson
          User: : huybrechts
          Path:
          branches/junit/main/core/src/main/java/hudson/tasks/junit/JUnitResultArchiver.java
          http://fisheye4.cenqua.com/changelog/hudson/?cs=20554
          Log:
          JENKINS-3451 expand environment variables in test results path

          SCM/JIRA link daemon added a comment - Code changed in hudson User: : huybrechts Path: branches/junit/main/core/src/main/java/hudson/tasks/junit/JUnitResultArchiver.java http://fisheye4.cenqua.com/changelog/hudson/?cs=20554 Log: JENKINS-3451 expand environment variables in test results path

          Code changed in hudson
          User: : huybrechts
          Path:
          trunk/hudson/main/core/src/main/java/hudson/tasks/junit/CaseResult.java
          trunk/hudson/main/core/src/main/java/hudson/tasks/junit/ClassResult.java
          trunk/hudson/main/core/src/main/java/hudson/tasks/junit/JUnitResultArchiver.java
          trunk/hudson/main/core/src/main/java/hudson/tasks/junit/PackageResult.java
          trunk/hudson/main/core/src/main/java/hudson/tasks/junit/SuiteResult.java
          trunk/hudson/main/core/src/main/java/hudson/tasks/junit/TabulatedResult.java
          trunk/hudson/main/core/src/main/java/hudson/tasks/junit/TestObject.java
          trunk/hudson/main/core/src/main/java/hudson/tasks/junit/TestResult.java
          trunk/hudson/main/core/src/main/java/hudson/tasks/junit/TestResultAction.java
          trunk/hudson/main/core/src/main/resources/hudson/model/AbstractBuild/sidepanel.jelly
          trunk/hudson/main/core/src/main/resources/hudson/tasks/junit/CaseResult/index.jelly
          trunk/hudson/main/core/src/main/resources/hudson/tasks/junit/ClassResult/body.jelly
          trunk/hudson/main/core/src/main/resources/hudson/tasks/junit/JUnitResultArchiver/config.jelly
          trunk/hudson/main/core/src/main/resources/hudson/tasks/junit/MetaTabulatedResult/body.jelly
          trunk/hudson/main/core/src/main/resources/hudson/tasks/junit/TabulatedResult/index.jelly
          trunk/hudson/main/core/src/main/resources/hudson/tasks/test/MatrixTestResult/index.jelly
          trunk/hudson/plugins/claim/pom.xml
          trunk/hudson/plugins/claim/src/main/java/hudson/plugins/claim/ClaimBuildAction.java
          trunk/hudson/plugins/claim/src/main/java/hudson/plugins/claim/ClaimPublisher.java
          trunk/hudson/plugins/claim/src/main/webapp/help-sticky.html
          trunk/hudson/pom.xml
          http://fisheye4.cenqua.com/changelog/hudson/?cs=20580
          Log:
          Merging in the junit branch. Lots of new features and bugfixes, including:

          • support for TestAction that can contribute various things to any TestObject (packages, classes and methods), using the TestDataPublisher extension point.
            Features include UI on the TestObject page, badges on the overview page, tasks in the side panel and annotating test output.
          • a junit-attachments plugin that uses this to record test attachments (files)
          • an extension to the claim plugin that offers claims on failing tests
          • editable test descriptions (on any TestObject)
          • a history page for all TestObjects (including test count and duration graph)
          • error details for failed tests are shown in a collapsed panel in test overview pages (package+class)
          • [FIXED JENKINS-3149] if file is .xml but does not parse, record a fake failing test
          • [FIXED JENKINS-1820] extra column displaying skipped tests
          • JENKINS-2046 new test packages, classes and methods are shown in bold
          • [FIXED JENKINS-2228] test duration charts on all levels
          • [FIXED JENKINS-3451] expand environment variables in test results path

          SCM/JIRA link daemon added a comment - Code changed in hudson User: : huybrechts Path: trunk/hudson/main/core/src/main/java/hudson/tasks/junit/CaseResult.java trunk/hudson/main/core/src/main/java/hudson/tasks/junit/ClassResult.java trunk/hudson/main/core/src/main/java/hudson/tasks/junit/JUnitResultArchiver.java trunk/hudson/main/core/src/main/java/hudson/tasks/junit/PackageResult.java trunk/hudson/main/core/src/main/java/hudson/tasks/junit/SuiteResult.java trunk/hudson/main/core/src/main/java/hudson/tasks/junit/TabulatedResult.java trunk/hudson/main/core/src/main/java/hudson/tasks/junit/TestObject.java trunk/hudson/main/core/src/main/java/hudson/tasks/junit/TestResult.java trunk/hudson/main/core/src/main/java/hudson/tasks/junit/TestResultAction.java trunk/hudson/main/core/src/main/resources/hudson/model/AbstractBuild/sidepanel.jelly trunk/hudson/main/core/src/main/resources/hudson/tasks/junit/CaseResult/index.jelly trunk/hudson/main/core/src/main/resources/hudson/tasks/junit/ClassResult/body.jelly trunk/hudson/main/core/src/main/resources/hudson/tasks/junit/JUnitResultArchiver/config.jelly trunk/hudson/main/core/src/main/resources/hudson/tasks/junit/MetaTabulatedResult/body.jelly trunk/hudson/main/core/src/main/resources/hudson/tasks/junit/TabulatedResult/index.jelly trunk/hudson/main/core/src/main/resources/hudson/tasks/test/MatrixTestResult/index.jelly trunk/hudson/plugins/claim/pom.xml trunk/hudson/plugins/claim/src/main/java/hudson/plugins/claim/ClaimBuildAction.java trunk/hudson/plugins/claim/src/main/java/hudson/plugins/claim/ClaimPublisher.java trunk/hudson/plugins/claim/src/main/webapp/help-sticky.html trunk/hudson/pom.xml http://fisheye4.cenqua.com/changelog/hudson/?cs=20580 Log: Merging in the junit branch. Lots of new features and bugfixes, including: support for TestAction that can contribute various things to any TestObject (packages, classes and methods), using the TestDataPublisher extension point. Features include UI on the TestObject page, badges on the overview page, tasks in the side panel and annotating test output. a junit-attachments plugin that uses this to record test attachments (files) an extension to the claim plugin that offers claims on failing tests editable test descriptions (on any TestObject) a history page for all TestObjects (including test count and duration graph) error details for failed tests are shown in a collapsed panel in test overview pages (package+class) [FIXED JENKINS-3149] if file is .xml but does not parse, record a fake failing test [FIXED JENKINS-1820] extra column displaying skipped tests JENKINS-2046 new test packages, classes and methods are shown in bold [FIXED JENKINS-2228] test duration charts on all levels [FIXED JENKINS-3451] expand environment variables in test results path

          Alan Harder added a comment -

          marking fixed as per above commit comment.. please open a new issue if this is still needed for clover plugin, thanks.

          Alan Harder added a comment - marking fixed as per above commit comment.. please open a new issue if this is still needed for clover plugin, thanks.

            huybrechts huybrechts
            snicolai snicolai
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: