How do I export nexus iq report (reportPdfUrl) in Gitlab Artifact - Sonatype Lifecycle & Repository Firewall - Sonatype Community
How do I export nexus iq report (reportPdfUrl) in Gitlab Artifact
post by jy2001 on Nov 16, 2021
I created Gitlab-ci.yml as below, the json file is downloaded at Gitlab pipeline page.
I noticed in the json file, there is “reportPdfUrl” , can I export it directly to Gitlab artifacts?
So that user click on Gitlab download the artifact, and pdf report is downloaded.
script:
- ./nexus-iq-cli -s http://IPADD:8070/ -a admin:admin123 -r "$CI_PROJECT_DIR/policy-eval-results.json" -i test .
artifacts:
when: always
paths:
- "$CI_PROJECT_DIR/policy-eval-results.json"
926 views