Skip to content

Commit

Permalink
Added setCredentialsProvider for submodules (#1205)
Browse files Browse the repository at this point in the history
Signed-off-by: Akira Sekiguchi <akira.sekiguchi@dnaform.jp>
  • Loading branch information
pachiras authored and pditommaso committed Jun 27, 2019
1 parent a2337e3 commit e246041
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -939,6 +939,8 @@ class AssetManager {
// call submodule init
init.call()
// call submodule update
if( provider.hasCredentials() )
update.setCredentialsProvider( new UsernamePasswordCredentialsProvider(provider.user, provider.password) )
def updatedList = update.call()
log.debug "Update submodules $updatedList"
}
Expand Down

0 comments on commit e246041

Please sign in to comment.