Skip to content

The job is still successful after the task fails #36

Description

@uedring

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions