CumulusCI icon indicating copy to clipboard operation
CumulusCI copied to clipboard

Tasks can (and should) now be defined as extensions of other tasks.

Open prescod opened this issue 2 years ago • 2 comments

A custom task can now be defined like this:

deploy_reports:
    description: Deploy Reports
    extends: deploy
    group: My Project
    options:
        path: unpackaged/config/reports

Instead of like this:

deploy_reports:
    description: Deploy Reports
    class_path: cumulusci.tasks.salesforce.Deploy
    group: My Project
    options:
        path: unpackaged/config/reports

This means that the classpath of CCI tasks can be treated as an implementation detail rather than part of the YAML syntax.

prescod avatar Feb 09 '23 21:02 prescod

Thanks for the contribution! It looks like @prescod is an internal user so signing the CLA is not required. However, we need to confirm this.

salesforce-cla[bot] avatar Sep 20 '23 04:09 salesforce-cla[bot]