jenkinsci / jenkinsci/git-plugin
[JENKINS-72820] GitChangeSet does not provide committer and author data at the same time
- Dominant language
- Java
- Stars
- 694
- Forks
- 1.1k
- Avg merge
- 1h 29m
- Merged PRs (30d)
- 3
Description
For the purposes of the functionality of skipping builds for commits containing a specific phrase in the commit message, it would be very helpful to be able to reach both committer date and author date at the GitChangeSet object level, and not only one of them, which is set via the authorOrCommitter variable at the object initialization level.
It would be great if GitChangeSet could provide getters for the committerTime and committerTime fields. Would it be possible without introducing breaking changes?
Mentioned feature PR for multibranch pipelines: https://github.com/jenkinsci/multibranch-build-strategy-extension-plugin/pull/20
---
Originally reported by ljackiewicz, imported from: GitChangeSet does not provide committer and author data at the same time
Raw content of original issue
For the purposes of the functionality of skipping builds for commits containing a specific phrase in the commit message, it would be very helpful to be able to reach both committer date and author date at the GitChangeSet object level, and not only one of them, which is set via the authorOrCommitter variable at the object initialization level.
It would be great if GitChangeSet could provide getters for the committerTime and committerTime fields. Would it be possible without introducing breaking changes?
Mentioned feature PR for multibranch pipelines: https://github.com/jenkinsci/multibranch-build-strategy-extension-plugin/pull/20
environment
```
Jenkins: 2.426.3
Git plugin: 5.2.1
```
Contributor guide
Assessment
This issue has not been assessed yet.