[JIRA] (JENKINS-45900) GIT_PREVIOUS_(SUCCESSFUL_)?COMMIT is not set when the it's tag that is checkouted

3 views
Skip to first unread message

jenkins-ci.org@mog.se (JIRA)

unread,
Mar 23, 2020, 2:34:02 PM3/23/20
to jenkinsc...@googlegroups.com
Morgan Christiansson commented on Bug JENKINS-45900
 
Re: GIT_PREVIOUS_(SUCCESSFUL_)?COMMIT is not set when the it's tag that is checkouted

This seems to still be an issue. I am unable to get changelogs working when deploying tags because I can find no way to get commit of previous build.

It's most likely this line in the code: https://github.com/jenkinsci/git-plugin/blob/942de7ac00272c0bbad625a811a17e66713014b8/src/main/java/hudson/plugins/git/GitSCM.java#L1346

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

jenkins-ci.org@mog.se (JIRA)

unread,
Mar 25, 2020, 9:05:02 AM3/25/20
to jenkinsc...@googlegroups.com
This seems to still be an issue. I am unable to get changelogs working when deploying tags because I can find no way to get commit of previous build.

It's most likely this line in the code: [ https://github.com/jenkinsci/git-plugin/blob/942de7ac00272c0bbad625a811a17e66713014b8/src/main/java/hudson/plugins/git/GitSCM.java#L1346 ]

Also affecting build changelogs as reported in JENKINS-11108
Reply all
Reply to author
Forward
0 new messages