[JIRA] (JENKINS-56175) Submodule with space in git URL won't update

2 views
Skip to first unread message

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

unread,
Feb 17, 2019, 11:30:02 PM2/17/19
to jenkinsc...@googlegroups.com
Mark Waite created an issue
 
Jenkins / Bug JENKINS-56175
Submodule with space in git URL won't update
Issue Type: Bug Bug
Assignee: Mark Waite
Components: git-plugin
Created: 2019-02-18 04:29
Environment: Git client plugin 3.0.0-rc (and all previous versions)
Git plugin 4.0.0-rc (and all previous versions)
Priority: Minor Minor
Reporter: Mark Waite

When a git submodule repository name includes a space character, the git plugin versions through git plugin 4.0.0-rc ignore the submodule.

Problem was found by the plugin pom 3.36 extension which includes a space character in the temporary directories created by the Jenkins test harness.

For example, I defined a repository ssh://hasp...@home.markwaite.net:45022//git/bare/bugs/without-space.git which includes a submodule from ssh://hasp...@home.markwaite.net:45022//git/bare/bugs/with space.git.

I can clone the without-space repository from the command line and can update the submodule. When I perform the same operation from a Jenkins job, the repository is cloned, but the submodule is not detected and never updates.

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

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

unread,
Feb 17, 2019, 11:34:03 PM2/17/19
to jenkinsc...@googlegroups.com
Mark Waite started work on Bug JENKINS-56175
 
Change By: Mark Waite
Status: Open In Progress

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

unread,
Feb 17, 2019, 11:36:02 PM2/17/19
to jenkinsc...@googlegroups.com
Mark Waite updated an issue
Change By: Mark Waite
When a git submodule repository name includes a space character, the git plugin versions through git plugin 4.0.0-rc ignore the submodule.

Problem was found by the plugin pom 3.36 extension which includes a space character in the temporary directories created by the Jenkins test harness.

For example, I defined a repository {{ssh:// hasphrase@ home.markwaite.net :45022 / \ ~/git/bare/bugs/without-space.git}} which includes a submodule from {{ssh:// hasphrase@ home.markwaite.net :45022 / \ ~/git/bare/bugs/with space.git}}.   

I can clone the {{without-space}} repository from the command line and can update the submodule.  When I perform the same operation from a Jenkins job, the repository is cloned, but the submodule is not detected and never updates.

shanexpert28@gmail.com (JIRA)

unread,
Feb 18, 2019, 2:06:02 AM2/18/19
to jenkinsc...@googlegroups.com

shanexpert28@gmail.com (JIRA)

unread,
Feb 18, 2019, 2:06:02 AM2/18/19
to jenkinsc...@googlegroups.com

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

unread,
Feb 18, 2019, 11:50:02 AM2/18/19
to jenkinsc...@googlegroups.com
Mark Waite stopped work on Bug JENKINS-56175
 
Change By: Mark Waite
Status: In Progress Open

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

unread,
Feb 18, 2019, 2:17:02 PM2/18/19
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,
Dec 24, 2019, 5:30:02 PM12/24/19
to jenkinsc...@googlegroups.com
Mark Waite updated an issue
When a git submodule repository name includes a space character, the git plugin versions through at least git plugin 4.0.0 -rc ignore the submodule.


Problem was found by the plugin pom 3.36 extension which includes a space character in the temporary directories created by the Jenkins test harness.

For example, I defined a repository {{ssh://home.markwaite.net/\~/git/bare/bugs/without-space.git}} which includes a submodule from {{ssh://home.markwaite.net/\~/git/bare/bugs/with space.git}}.  I can clone the {{without-space}} repository from the command line and can update the submodule.  When I perform the same operation from a Jenkins job, the repository is cloned, but the submodule is not detected and never updates.
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages