Invalid continuation key when using dynamic config / setup workflows on CircleCI Server

Problem:

When using dynamic configuration via the circleci/continuation and/or circleci/path-filtering Orbs the setup workflow fails at the "Continue Pipeline" job with an error:

{"message":"Invalid continuation key."}
Exited with code exit status 1

Solutions:

  • For CircleCI server, the default circleci_domain parameter needs to be overriden from the default (circleci.com). Instead it must be set to match the global.domainName parameter from your Server environment's values.yaml

Outcome:

Once the circleci_domain parameter is set correctly, the continuation workflow will be triggered successfully.

path-filtering example:

version 2.1

setup: true

orbs:
  path-filtering: circleci/path-filtering@2

workflows:
  setup:
    jobs:
      - path-filtering/filter:
          name: detect-changes
          config-path: .circleci/continue_config.yml
          circleci_domain: <your gloabal.domainName value>

Additional Resources:

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Article is closed for comments.