Hi there,
I tried running .\zap.bat in CICD pipeline. But after the scan completes, the job just keeps loading with the three dots at the left
My gitlab-ci.yml script only contains this:
script:
- cd "C:\Program Files\OWASP\Zed Attack Proxy\"
- .\zap.bat -cmd -config network.connection.timeoutInSecs=180 -config rules.domxss.browserid=chrome-headless -autorun file.yaml -session "C:\\Users\\Local User\\OWASP ZAP\\sessions\\template.session"
after_script:
- echo "after script here!"
I have tried running the .yml file without the zap.bat command and the job can run finish.
So I do not think it is runner problem.
However, when I check the end of the zap.log file, I saw that ZAP has been terminated:
[main ] INFO CommandLineBootstrap - OWASP ZAP 2.13.0 terminated.
Please advice how can I run zap.bat in CICD? I don't see anybody else having this problem in the user group.
Thanks in advance!