CI/CD HTML Report feature isn't working

50 views
Skip to first unread message

Alexis

unread,
Aug 21, 2025, 11:41:02 AMAug 21
to ZAP User Group
Hello everybody,

I'm currently trying to generate HTML report using ZAP on GitLab CI/CD but for some reason the report isn't generated even if I do have results from the pipeline.

stages:
  - dast1
dast_scan:
  stage: dast1
  image:
  tags:
    - docker-S
  script:
    - mkdir -p reports
    - zap-baseline.py -t http://zero.webappsecurity.com/ -r reports/testreport.html
  artifacts:
    when: always
    expire_in: 7 days
    paths:
      - reports/

ERROR : A file based option has been specified but the directory '/zap/wrk' is not mounted


But it seems that I'm missing something 😕

Thanks in advance,
Alexis


Message has been deleted

Simon Bennetts

unread,
Aug 26, 2025, 9:24:56 AMAug 26
to ZAP User Group
Reply all
Reply to author
Forward
0 new messages