• Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • cobertura-plugin
    • Jenkins ver. 1.613
      Jenkins Cobertura Plugin 1.9.7

      Add support for expanding environment variables - when injecting variables to build process using "inject environment variables to build process" option I'd like to be able to use them in "Cobertura xml report pattern" field i.e.: $PROJECT_HOME/target/cobertura-coverage.xml. This feature is supported by most of other report plugins (i.e. JUnit reporter plugin).

          [JENKINS-30647] Support expanding environment variables

          Jan Vrany added a comment - - edited

          I second that. My use case is following: I have a job that does incremental builds, i.e., multiple builds share the same workspace
          (which is cleanded every night to make sure it builds from scratch).
          The Cobertura results .xml files (as well as Junit result .xml files) has Jenkins BUILD_NUMBER in it. I need to use pattern like

          reports/*mercurial*build${BUILD_NUMBER}*Coverage.xml

          to match coverage reports.

          Jan Vrany added a comment - - edited I second that. My use case is following: I have a job that does incremental builds, i.e., multiple builds share the same workspace (which is cleanded every night to make sure it builds from scratch). The Cobertura results .xml files (as well as Junit result .xml files) has Jenkins BUILD_NUMBER in it. I need to use pattern like reports/*mercurial*build${BUILD_NUMBER}*Coverage.xml to match coverage reports.

          Last two releases (separated by over a year) were by olivergondza so looks like the maintainer

          Stephen Connolly added a comment - Last two releases (separated by over a year) were by olivergondza so looks like the maintainer

          Hello,

          Are there any news on this topic? Will it be possible to use environment variables for junit reports configuration (XMLs location)

          Alex.

          Alexandre Charvier added a comment - Hello, Are there any news on this topic? Will it be possible to use environment variables for junit reports configuration (XMLs location) Alex.

          spam me added a comment -

          I have the same issue, I would like to use environment variables for the report path, but it doesn't work. 

          spam me added a comment - I have the same issue, I would like to use environment variables for the report path, but it doesn't work. 

            Unassigned Unassigned
            bartoszkaczorek Bartosz Kaczorek
            Votes:
            4 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: