You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using plugin io.kestra.plugin.dbt.cli.DbtCLI in task and I'd like to have run_results.json in outputFiles so I can parse it later.
When task is successful, run_results are present in outputFiles. However, when task fails run_results are missing in outputFiles even when i use outputFiles variable, example below
- id: dbtCore
outputFiles: ["target/run_results.json"]
type: io.kestra.plugin.dbt.cli.DbtCLI
docker:
image: ghcr.io/dbt-labs/dbt-snowflake:1.7.1
commands:
- dbt deps
- dbt {{inputs.dbt_command}} --target {{inputs.dbt_target}} {% if inputs.selector is defined %} -s "{{ inputs.selector }}" {% endif %} {% if inputs.exclude is defined %} --exclude "{{ inputs.exclude }}" {% endif %}
Environment
Kestra Version: 0.16.1
Operating System (OS/Docker/Kubernetes): Kubernetes
The text was updated successfully, but these errors were encountered:
Describe the issue
I'm using plugin io.kestra.plugin.dbt.cli.DbtCLI in task and I'd like to have run_results.json in outputFiles so I can parse it later.
When task is successful, run_results are present in outputFiles. However, when task fails run_results are missing in outputFiles even when i use outputFiles variable, example below
Environment
The text was updated successfully, but these errors were encountered: