[JIRA] (JENKINS-60052) Simplify git submoudle update command

2 views
Skip to first unread message

rittneje@gmail.com (JIRA)

unread,
Nov 4, 2019, 11:18:03 PM11/4/19
to jenkinsc...@googlegroups.com
Jesse Rittner created an issue
 
Jenkins / Story JENKINS-60052
Simplify git submoudle update command
Issue Type: Story Story
Assignee: Mark Waite
Components: git-client-plugin
Created: 2019-11-05 04:17
Priority: Minor Minor
Reporter: Jesse Rittner

For some reason, the git-client plugin iterates through the list of submodules (presumably by parsing the .gitmodules file) and manually issues a git submodule update command for each. Instead of this, it should simply issue a single git submodule update command without specifying a particular submodule, and the let the CLI do its job.

As part of this change, the new threads property of SubmoduleUpdateCommand should just be passed as --jobs rather than manually spawning threads in Java/Groovy.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages