-
Improvement
-
Resolution: Unresolved
-
Major
-
None
-
Jenkins Core 1.488
Perforce 1.3.17
Please enhance the change reporting when a build occurs, to only show relevant files and changelists.
[For flexibility / backwards compatibility, perhaps this behaviour should be enabled by a checkbox]
[Ideally the filtering would be done by use of p4 commands and not by the Jenkins plugin, for scalability and to limit network traffic]
-----------
More specific details:
1) At /job/<name>/<build #>/changes page: only show a changelist if one or more files in that changelist are mapped to the client.
2) At /job/<name>/<build #>/changes page: only show those files within a changelist that are mapped to the client.
3) Set P4_CHANGELIST to the most recent changelist which included one or more files mapped to the client [I use @${ENV,var="P4_CHANGELIST"} to label the build with the last change # together with build-name-setter plugin]
- is related to
-
JENKINS-15515 Provide environment variable for the last changeset that contributed to a projects build
-
- Resolved
-
The plugin already only shows the changesets that contain files that are in the currently defined workspace/view map. So #1, (and by extension #3,) is already implemented...
The file listing for each changeset is provided by perforce itself, and the 'p4 describe' command used does not have the ability to filter that file listing. As you say, ideally perforce would do this filtering for you, but I don't believe there is such a command for doing that... Please let me know if I'm wrong.