Azure-pipelines-agent: Git checkout submodule in YAML

Created on 25 Jul 2018  ยท  4Comments  ยท  Source: microsoft/azure-pipelines-agent

It's currently not part of the yaml options.

Most helpful comment

steps:
- checkout: self
  submodules: true

or

resources:
  repositories:
  - repository: self
    checkoutOptions:
      submodules: true

steps:
- checkout: self

All 4 comments

This is deployed to some accounts. The deployment will likely reach the rest of the accounts next week.

Docs haven't merged yet. The syntax will be:

- checkout: self
  submodules: true
resources:
- repo: self
  submodules: true

โŒ .vsts-ci.yml (Line: 3, Col: 3): Unexpected value 'submodules'

steps:
- checkout: self
  submodules: true

or

resources:
  repositories:
  - repository: self
    checkoutOptions:
      submodules: true

steps:
- checkout: self

We have created a new repository for all YAML related issues, please move the current issue to there.
https://github.com/Microsoft/azure-pipelines-yaml

Was this page helpful?
0 / 5 - 0 ratings