title: Azure Devops pipeline finish with warning badge when a job failed
body: <p>I have a pipeline (Azure Devops yaml) with some jobs.
  They run in parallel.
  But when one fails, the build ends with a warning and not an error badge.
  Why?
  I expected the pipeline to end in error.</p>
  
  <p><a href="https://i.stack.imgur.com/lGq3i.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lGq3i.png" alt="enter image description here"></a></p>
  
  <p><strong>Edit:</strong>
  pipelines.yml</p>
  
  <pre class="lang-yaml prettyprint-override"><code>pool:
    name: Default
  
  
  jobs:
  - job: FirstJob
    steps:
    - script: echo First!
  
  - template: template.yml
    parameters:
       name: Second
  
  - template: template.yml
    parameters:
       name: Third
  
  - template: template.yml
    parameters:
       name: Fourth
  
  - template: template.yml
    parameters:
       name: Fifth
  
  - template: template.yml
    parameters:
       name: Sixth
  
  - template: template.yml
    parameters:
       name: Seventh
  </code></pre>
  
  <p>template.yml:</p>
  
  <pre class="lang-yaml prettyprint-override"><code>parameters:
    - name: name
      type: string
      default: -- 
  
  jobs:
  - job: ${{ parameters.name }}
    dependsOn: FirstJob
    continueOnError: true
    variables:
        BuildTag: ${{ parameters.name }}
  
    steps:
      - task : AddTag@0
        inputs:
          tags: '$(BuildTag)'
  
      - task: DotNetCoreCLI@2
        inputs:
          command: 'build'
          projects: 'foo'
        condition: and(succeeded(), eq(variables['BuildTag'], 'Sixth'))
  </code></pre>
  
  <p>I see my mistake with <strong>continueOnError: true</strong>.</p>