jenkinsci / jenkinsci/git-plugin

[JENKINS-72820] GitChangeSet does not provide committer and author data at the same time

Open
#3,831 1 comment 0 reactions 0 assignees View on GitHub
component:git-plugin enhancement imported-jira-issue priority:minor resolution:unresolved
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


  • status: Open
  • priority: Minor
  • component(s): git-plugin
  • resolution: Unresolved
  • votes: 1
  • watchers: 2
  • imported: 2025-12-02

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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.