0

How to configure Jenkins to use git repository with submodules? I want to build even when change is pushed only to submodule.

1 Answers1

0

There's no direct configuration for this.

Related question here - git plugin and hudson

tl;dr - whenever your submodule has a change (which is of course committed), make sure you make a commit on your main git repository as well to register the git submodule's changes; the build will then kick in accordingly.

Community
  • 1
  • 1
Calvin Cheng
  • 35,640
  • 39
  • 116
  • 167