DEV Community

Discussion on: Automatic security tests in Jenkins with OWASP ZAP

Collapse
 
gwllmnn profile image
Grégoire Willmann • Edited

Are you sure the installation directory variable is set on your system?

Could you do echo $NAME_OF_YOUR_INSTALLATION_DIR_VAR and see if it is correctly set?

screenshot

Collapse
 
jadgit profile image
jadgit

Hi, thank you for your answer.

Yes, i added the variable (ZAP Installation Directory) in the PATH (system variable) and still have the same probleme.

However, i fixed it by setting the environment variable in the jenkins configuration (name & value under manage jenkins-> Global setting) and it works finally!