I have a requirement wherein I have to import multiple reports(100+), all in different folders, from Stash repository to Jasper server installed on an EC2 instance.
How can I automate this process in case I have to spin an EC2 instance and deploy all the reports using CI/CD?
Try this way:
Spin up EC2 instance first
Then write Jasper reports deployment code which will use a build tool such as Maven and Jasper API - this build code will use REST API and combines the XML and JRXML to create a Report Unit for each report in your Repository, then deploys this report unit on to the Jasper server that you have already deployed. May be you could use spring boot to automate all these steps.