title: Azure DevOps job ignore failure
body: <p>I have the following in my azure-pipelines.yml</p>
  
  <pre><code>jobs:
  - job: TestifFolder1Exists
    pool:
      vmImage: 'ubuntu-16.04'
  
    steps:
    - bash: git log -1 --name-only | grep -c Folder1
      failOnStderr: false
  
  - job: Folder1DoesntExist
    pool:
      vmImage: 'ubuntu-16.04'
    dependsOn: TestifFolder1Exists
    condition: failed() 
  
  - job: Folder1DoesExist
    pool:
      vmImage: 'ubuntu-16.04'
    dependsOn: TestifFolder1Exists
    condition: succeeded() 
  </code></pre>
  
  <p>I am trying to test whether a folder has had a change made, so I can publish artifacts from that directory. </p>
  
  <p>The problem I am having is that if there isn't anything written to the folder, the script fails with a <code>
  Bash exited with code '1'.</code> (this is what I want) which in turn makes the whole build fail. </p>
  
  <p>If I add <code>continueOnError</code> then the following jobs always run the succeeded job. </p>
  
  <p>How can I let this job fail, without it failing the entire build? </p>