[JIRA] (JENKINS-42708) Expose the GIT_URL, BRANCH and COMMIT that originally triggered the build

2 views
Skip to first unread message

eero.aaltonen@iki.fi (JIRA)

unread,
Mar 13, 2017, 5:20:01 AM3/13/17
to jenkinsc...@googlegroups.com
Eero Aaltonen created an issue
 
Jenkins / Improvement JENKINS-42708
Expose the GIT_URL, BRANCH and COMMIT that originally triggered the build
Issue Type: Improvement Improvement
Assignee: Mark Waite
Components: git-plugin
Created: 2017/Mar/13 9:19 AM
Priority: Minor Minor
Reporter: Eero Aaltonen

Problem:
For a Jenkins Job monitoring multiple Git SCMs, the 
GIT_URL
GIT_BRANCH
GIT_COMMIT

variables lose information on which repository change triggered the build. The Jenkins job polling / notify logic faithfully keeps track of built commits, but this is lost when the multi-SCM build starts.

Request:
I propose adding the environment variables that identify which URL/COMMIT/BRANCH caused the build to trigger. I am trying to use this together with commit
Commit Notifications, so in my case the original commit included in the notification would be fine.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
Atlassian logo

eero.aaltonen@iki.fi (JIRA)

unread,
Mar 13, 2017, 5:22:03 AM3/13/17
to jenkinsc...@googlegroups.com
Eero Aaltonen updated an issue
Change By: Eero Aaltonen
*Problem:*

For a Jenkins Job monitoring multiple Git SCMs, the 
GIT_URL
GIT_BRANCH
GIT_COMMIT

variables lose information on *which repository change* triggered the build. The Jenkins job polling / notify logic faithfully keeps track of built commits, but this is lost when the multi-SCM build starts.

*Request:*

I propose adding the environment variables that identify which URL/COMMIT/BRANCH caused the build to trigger. I am trying to use this together with
commit  
[Commit Notifications|https://blog.mikesir87.io/2013/04/continuous-integration-with-stash-and-jenkins/], so in my case the original commit included in the notification would be fine.

eero.aaltonen@iki.fi (JIRA)

unread,
Mar 13, 2017, 5:22:03 AM3/13/17
to jenkinsc...@googlegroups.com

eero.aaltonen@iki.fi (JIRA)

unread,
Mar 13, 2017, 5:23:04 AM3/13/17
to jenkinsc...@googlegroups.com
Eero Aaltonen updated an issue
Change By: Eero Aaltonen
*Problem:*
For a Jenkins Job monitoring
* multiple Git SCMs, the 

GIT_URL
GIT_BRANCH
GIT_COMMIT

variables lose information on *which repository change* triggered the build. The Jenkins job polling / notify logic faithfully keeps track of built commits, but this is lost when the multi-SCM build starts.

*Request:*
I propose adding the environment variables that identify which URL/COMMIT/BRANCH caused the build to trigger. I am trying to use this together with 
[Commit Notifications|https://blog.mikesir87.io/2013/04/continuous-integration-with-stash-and-jenkins/], so in my case the original commit included in the notification would be fine.

mark.earl.waite@gmail.com (JIRA)

unread,
Mar 14, 2017, 9:36:02 AM3/14/17
to jenkinsc...@googlegroups.com

mark.earl.waite@gmail.com (JIRA)

unread,
Jan 13, 2020, 7:12:03 PM1/13/20
to jenkinsc...@googlegroups.com
Mark Waite closed an issue as Won't Fix
 

Won't implement further changes to support multiple SCM plugin. Use the Jenkins pipeline for multiple SCM use cases.

Change By: Mark Waite
Status: Open Closed
Resolution: Won't Fix
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages