Details
-
Bug
-
Status: Resolved (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
-
Jenkins 1.656
Centos 5
Warnings plugin 2.52
Description
When configuring file names to be scanned for compiler warnings, it would be good to be able to use build environment variables (similar to other fields e.g. the Command field in an Execute Shell box).
I'd like to be able to enter "${CLEARCASE_VIEWPATH}/vobs/somePath/build_output" into the File Pattern field of Scan Workspace Files. But it doesn't expand the ${CLEARCASE_VIEWPATH}.
I can work around it by using "*/vobs/somePath/build_output" as that filename is unique. But I shouldn't have to.
Attachments
Issue Links
- is related to
-
JENKINS-30735 Can't use variables in result files path pattern
-
- Resolved
-
I couldn't shell command, I don't know why. (We never use shell in Jenkins.) So I added a build step Execute Windows Batch Command instead:
Console output:
2181 is the previous successful build.
My Jenkins job also use the plugin for injecting env variables.