Reputation: 25349
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.
Upvotes: 12
Views: 6716
Reputation: 379
Three dots ...
in YAML are like semicolon ;
in shell/C/Java etc.
A YAML perfectionist starts all his documents with three dashes and ends it with three dots.
Upvotes: 0
Reputation: 1596
Three dots ( “ ... ”) indicate the end of a document without starting a new one
for more details check out this YAML documentation
Upvotes: 16