I've created a variable group in an Azure Pipeline library. It has the password to a certificate I want to apply to signing the executables during the Azure build pipeline. I've encrypted the password by clicking on the lock icon. The problem I'm having is I've got other variables, not a part of the variable group, which I'm including in the variables
section of the YAML file. I'm getting error, telling me it is an invalid YAML file. Here's what I've got:
variables:
solution: '**/*.sln'
buildPlatform: 'Any CPU'
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
buildConfiguration: 'Release'
Binaries: test
- group: 'acdc-pipeline-group'
I've tried to find a way of doing this, but the documentation I've found only lists the variable group by itself in the variables
section. Unless I'm misunderstanding the linked documentation: Add & use variable groups
I've made a mistake in the variables
, but I'm not sure what I've done wrong.