Skip to content

Concourse extension doesn't know about on_error for jobs #383

@marco-m

Description

@marco-m

Consider the following pipeline:

resource_types:

- name: cogito
  type: registry-image
  check_every: 24h
  source:
    repository: ((docker-registry))/cogito

resources:

- name: gh-status
  type: cogito
  check_every: 24h

- name: repo.git
  type: git
  source:
    uri: [email protected]:((github-owner))/((repo-name)).git

jobs:

  - name: autocat
    on_error:                     # <== problem reported here
      put: gh-status
      inputs: [repo.git]
    plan:
      - get: repo.git
        trigger: true
      - put: gh-status
        inputs: [repo.git]

The extension wrongly reports for on_error:

Unknown property 'on_error' for type 'Job'.

The documentation for on_error is: https://concourse-ci.org/on-error-step-hook.html#on_error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions