opendevstack / ods-pipeline-adoc

ODS Pipeline tasks for rendering Asciidoctor files to PDF
Apache License 2.0
0 stars 0 forks source link

Is there a better way to access files with dynamic filename? #1

Closed michaelsauter closed 1 year ago

michaelsauter commented 1 year ago

Some ODS Pipeline artifacts have a dyanmic name (e.g. pipeline run manifests). These cannot be referenced in the templates properly, as the filename is not known to the Asciidoctor template author. The only way to get the contents at the moment is by iterating over the map of files in the path. Is that enough? Is there a better way to solve the issue?

michaelsauter commented 1 year ago

I think we can't support this better out-of-the-box.

We have helpers now to: