-
Improvement
-
Resolution: Unresolved
-
Minor
-
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
Description |
Original:
Add expanding of 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). |
New:
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). |
Issue Type | Original: New Feature [ 2 ] | New: Improvement [ 4 ] |
Summary | Original: Expand environment variables | New: Support expanding environment variables |
Labels | New: cobertura jenkins |
Assignee | Original: Stephen Connolly [ stephenconnolly ] | New: Oliver Gondža [ olivergondza ] |
Workflow | Original: JNJira [ 165762 ] | New: JNJira + In-Review [ 182126 ] |
Assignee | Original: Oliver Gondža [ olivergondza ] |
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.