yaml

What does three dots in a yaml/yml mean


New with yaml, so please bare with me.

I am building a azure devops pipeline. And I exported it to yaml file.

It looks like this(removed some tasks/content to make it short)

variables:
- name: BuildParameters.RestoreBuildProjects
  value: '**/*.csproj'
- name: BuildParameters.TestProjects
  value: '**/*[Tt]ests/*.csproj'
trigger:
  branches:
    include:
    - refs/heads/feature/24-Add-unit-tests
name: $(date:yyyyMMdd)$(rev:.r)
jobs:
- job: Job_1
  displayName: Agent job 1
  pool:
    vmImage: ubuntu-20.04
  steps:
  - checkout: self  
  - task: PublishBuildArtifacts@1
    displayName: Publish Artifact
    condition: succeededOrFailed()
    inputs:
      PathtoPublish: $(build.artifactstagingdirectory)
      TargetPath: '\\my\share\$(Build.DefinitionName)\$(Build.BuildNumber)'
...

I can see three dots(...) in the end.

What do they indicate? End of file? Or some other meaning.


Solution

  • Three dots ( “ ... ”) indicate the end of a document without starting a new one

    for more details check out this YAML documentation