Jenkins pipeline git command submodule update
问题 I want to update submodule on git clone. Is there a way to do this with Jenkins pipeline Git command? Currently I'm doing this... git branch: 'master', credentialsId: 'bitbucket', url: 'ssh://bitbucket.org/hello.git' It doesn't however update submodule once cloned 回答1: With the current Git plugin, you don't even need that. The GIT plugin supports repositories with submodules which in turn have submodules themselves. This must be turned on though: in Job Configuration -> Section Source Code