[JIRA] (JENKINS-53732) Git plugin unit test is leaking into user's git config

6 views
Skip to first unread message

josephp90@gmail.com (JIRA)

unread,
Sep 22, 2018, 8:22:03 AM9/22/18
to jenkinsc...@googlegroups.com
Joseph Petersen created an issue
 
Jenkins / Task JENKINS-53732
Git plugin unit test is leaking into user's git config
Issue Type: Task Task
Assignee: Mark Waite
Components: git-plugin
Created: 2018-09-22 12:21
Priority: Blocker Blocker
Reporter: Joseph Petersen

I have had several times where I noticed my user.email and user.name was changed in my git config.

 

 

 

[include]
	path = .gitconfig.local
[user]
	name = Name From Git-Plugin-Test
	email = email.from.gi...@example.com

 

Because I use a include of local git global config.

Finally figured out it was git-plugin unit tests messing with my config.

 

Is there are way we can ban the test or fix this for all versions since this test was included.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

josephp90@gmail.com (JIRA)

unread,
Sep 22, 2018, 8:24:02 AM9/22/18
to jenkinsc...@googlegroups.com
Joseph Petersen updated an issue
Change By: Joseph Petersen
I have had several times where I noticed my user.email and user.name was changed in my git config.


[include]
path = .gitconfig.local
[user]
name = Name From Git-Plugin-Test
email = email.from.gi...@example.com
{code}
 

Because I use a include of local git global config.

Finally figured out it was git-plugin unit tests messing with my config.

 

Is there are way we can ban the test or fix this for all versions since this test was included.

 

Happens for instance when you run unit test for Bitbucket branch source plugin...

josephp90@gmail.com (JIRA)

unread,
Sep 22, 2018, 8:24:02 AM9/22/18
to jenkinsc...@googlegroups.com

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

unread,
Nov 18, 2018, 7:19:02 PM11/18/18
to jenkinsc...@googlegroups.com
Mark Waite assigned an issue to Unassigned
Change By: Mark Waite
Assignee: Mark Waite

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

unread,
Nov 18, 2018, 7:48:03 PM11/18/18
to jenkinsc...@googlegroups.com
Mark Waite assigned an issue to Mark Waite

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

unread,
Nov 19, 2018, 8:22:02 AM11/19/18
to jenkinsc...@googlegroups.com
Change By: Mark Waite
Status: Open Fixed but Unreleased
Resolution: Fixed

josephp90@gmail.com (JIRA)

unread,
Mar 7, 2020, 1:10:23 AM3/7/20
to jenkinsc...@googlegroups.com
Joseph Petersen assigned an issue to Joseph Petersen
Change By: Joseph Petersen
Assignee: Mark Waite Joseph Petersen
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

josephp90@gmail.com (JIRA)

unread,
Mar 7, 2020, 1:22:03 AM3/7/20
to jenkinsc...@googlegroups.com
Joseph Petersen assigned an issue to Mark Waite
Change By: Joseph Petersen
Assignee: Joseph Petersen Mark Waite

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

unread,
Mar 7, 2020, 7:58:02 AM3/7/20
to jenkinsc...@googlegroups.com
Change By: Mark Waite
Status: Fixed but Unreleased Closed
Released As: git-4.0.0

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

unread,
Mar 7, 2020, 7:59:02 AM3/7/20
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages