Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Invalid conditional workflow example #53

Open
ilyapuchka opened this issue Sep 3, 2019 · 0 comments
Open

Invalid conditional workflow example #53

ilyapuchka opened this issue Sep 3, 2019 · 0 comments

Comments

@ilyapuchka
Copy link

In the example for conditional workflow there is a job that is conditionally added to the workflow based on parameter

workflows:
  version: 2
  integration_tests:
    when: << pipeline.parameters.run_integration_tests >>
    jobs:
      - mytestjob
      - when:
          condition: << pipeline.parameters.deploy >>
          steps:
            - deploy

On practice though this results in the invalid configuration: Cannot find a definition for job named when when validated with circleci 0.1.5830+2bb45a0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant