Home > Software design >  Azure Pipelines: Select branch for git-submodule
Azure Pipelines: Select branch for git-submodule

Time:11-23

I've an environment which makes use of git submodules.

When making a change in the underlying submodule-repo I've always to create a branch on top level, make a change in the submodule reference and push it to server. Then I'm ready to run a pipeline with needed commit of the submodule.

In order to make this easier, I would like to have the possibility to select a branch or commit of the submodule when starting the build on top level.

On jenkins, I used to use an optional parameter created by enter image description here

For more details, you can reference the document "Runtime parameters".

  • Related