android - Jenkins integration of project with git submodules -


i trying automate build integrating project jenkins. works fine revision not have submodules build fails revision in submodule present.

i have tried options available on stack overflow no gain, like:

  1. using following git commands:

    git submodule update --init --recursive git submodule -q foreach git pull origin master 
  2. advanced submodule behavious : given path of submodule, recursive update submodule , different build.gradle submodule.

any appreciated.


Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

How to understand 2 main() functions after using uftrace to profile the C++ program? -