Azure-Player / azure.datafactory.devops

Azure DevOps Deployment Tasks for Azure Data Factory objects
MIT License
39 stars 21 forks source link

The job is still successful after the task fails #36

Closed uedring closed 3 years ago

uedring commented 3 years ago

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'

image

NowinskiK commented 3 years ago

hey @uedring, why do you close the issue? I'm going to look at this.

NowinskiK commented 3 years ago

@uedring , this is fixed now in ver.1.6. Thanks for raising this issue.