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
There seems to be a bug in the codefresh-run-dynamic step, in the case where you don't wait for the pipelines to finish. The pipelines are triggered as they should be, but the step fails with an error:
Executing command: python3 /codefresh-run-dynamic.py
Running pipelines...
codefresh run test/deploy1 --detach
Started build https://g.codefresh.io/build/613f1202f755fb7679444a2b
codefresh run test/deploy2 --detach
Started build https://g.codefresh.io/build/613f12057f34fcca9c477aba
Traceback (most recent call last):
File "/codefresh-run-dynamic.py", line 315, in <module>
main()
File "/codefresh-run-dynamic.py", line 311, in main
write_output_files(builds_started, success)
UnboundLocalError: local variable 'success' referenced before assignment
Reading environment variable exporting file contents.
The variable success is only set with the wait flag, but used as a parameter for write_output_files() either way.
The text was updated successfully, but these errors were encountered:
There seems to be a bug in the
codefresh-run-dynamic
step, in the case where you don't wait for the pipelines to finish. The pipelines are triggered as they should be, but the step fails with an error:The variable
success
is only set with the wait flag, but used as a parameter forwrite_output_files()
either way.The text was updated successfully, but these errors were encountered: