I have a Build Pipeline with only one job and continueOnError is set to false, but after the Build ADF Task fails, the job status is still successful. How can this be resolved?
Here is the yml:
trigger: none
continueOnError: false
pool:
vmImage: 'windows-latest'
variables:
factoryName: 'TargetingDataFactory'
steps:
- task: BuildADFTask@1
inputs:
DataFactoryCodePath: '$(factoryName)'
Action: 'Build'

I have a Build Pipeline with only one job and continueOnError is set to false, but after the Build ADF Task fails, the job status is still successful. How can this be resolved?
Here is the yml: