We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi! Is it possible to extend functionality to use a custom report template?
Archi cli accepts an argument --jasper.template for passing full path to the main.jrxml Jasper Reports template file.
--jasper.template
The text was updated successfully, but these errors were encountered:
Yes, it's possible, but I don't have time to implement it right now.
Therefore, I will gladly accept PR or wait until there is time to do it.
Might be worth just allowing any additional custom argument to be specified here in
archimate-ci-image/entrypoint.sh
Line 84 in b388308
Sorry, something went wrong.
Hi @WoozyMasta thanks for reply.
I was going to allow custom arguments by modifying this line:
Line 45 in b388308
into this:
local -a _args=("${@}")
Then I realized that when there are arguments provided to entrypoint, it behaves differently:
https://github.com/WoozyMasta/archimate-ci-image/blob/b38830882aebe5af4b6b85865733aaffd939fff6/entrypoint.sh#LL148C1-L153C3
In order not to break backwards compatibility I've decided not to remove these lines.
For now I modified my gitlab_ci file by adding another script call to generate jasper report, it works fine.
script: - /opt/Archi/entrypoint.sh - /opt/Archi/entrypoint.sh --modelrepository.loadModel <project path> --jasper.createReport <project path>/public --jasper.format PDF --jasper.filename <project name> --jasper.title <project name> --jasper.template <project path>/report-template/main.jrxml
But that means it generates jasper report twice. I wanted to keep jasper report generation bc you inject PDF link to HTML page, which is cool.
Any suggestions?
@kokeksibir Okay, I'll try to find some time this weekend and try to implement it.
But I'm not promising anything yet.
WoozyMasta
No branches or pull requests
Hi! Is it possible to extend functionality to use a custom report template?
Archi cli accepts an argument
--jasper.template
for passing full path to the main.jrxml Jasper Reports template file.The text was updated successfully, but these errors were encountered: