Reputation: 1259
trigger:
- develop
pool:
vmImage: windows-2019
steps:
- task: NuGetCommand@2
inputs:
command: "restore"
restoreSolution: "**/*.sln"
feedsToUse: "config"
- task: MSBuild@1
inputs:
solution: "**/*.sln"
- task: S3Upload@1
inputs:
regionName: "us-west-2"
bucketName: "ssw-nonprod-ado-artifacts"
globExpressions: "**"
targetFolder: "nsspreproc"
I added the missing "steps" keyword as suggested on my previous question.
Now the errors I'm getting are:
/azure-pipelines.yml (Line: 11, Col: 12): Unexpected value
For example line 11 column 12 is right after the colon (:) on the first "inputs".
I've tried changing up the indentation and using single quotes vs double quotes, but none of that seems to help. What am I missing?
Upvotes: 0
Views: 1692
Reputation: 1646
Dave Newton is absolutely right, your YAML is not valid.
This is the valid version of your YAML:
trigger:
- develop
pool:
vmImage: windows-2019
steps:
- task: NuGetCommand@2
inputs:
command: restore
restoreSolution: "**/*.sln"
feedsToUse: config
- task: MSBuild@1
inputs:
solution: "**/*.sln"
- task: S3Upload@1
inputs:
regionName: us-west-2
bucketName: ssw-nonprod-ado-artifacts
globExpressions: "**"
targetFolder: nsspreproc
Word of advice, please take a good look at your white spaces and indentation:
Upvotes: 1