title: How to mark a task as optional in GoCD?
body: <p>I need to make a request from a pipeline, which is optional on windows- and linux-based agents. The request may fail for whatever reason, but the pipeline should continue anyway - always.</p>
  
  <p>All CICD-Systems I've worked with so far have the possibility to mark a task as optional or - more specifically - to ignore errors:</p>
  
  <p>Example: <a href="https://docs.gitlab.com/ee/ci/yaml/#allow_failure" rel="nofollow noreferrer">https://docs.gitlab.com/ee/ci/yaml/#allow_failure</a></p>
  
  <pre><code>job1:
    stage: test
    script:
    - execute_script_that_will_fail
    allow_failure: true
  </code></pre>
  
  <p>I have <em>not</em> found a similar concept in GoCD - is there one I am not aware of?</p>