TA的每日心情 | 擦汗 前天 09:07 |
---|
签到天数: 527 天 连续签到: 4 天 [LV.9]测试副司令
|
1测试积点
在尝试进行Jenkins+zap的实施,但是在设置了ZAPROXY_HOME的环境变量后,进行构建扫描时报错如下:
- [ZAP Jenkins Plugin] START BUILD STEP
- [ZAP Jenkins Plugin] PLUGIN VALIDATION (PLG), VARIABLE VALIDATION AND ENVIRONMENT INJECTOR EXPANSION (EXP)
- ERROR: java.lang.IllegalArgumentException: ZAP INSTALLATION DIRECTORY IS MISSING, PROVIDED [ null ]
- at org.jenkinsci.plugins.zap.ZAPDriver.checkParams(ZAPDriver.java:510)
- at org.jenkinsci.plugins.zap.ZAPDriver.startZAP(ZAPDriver.java:610)
- at org.jenkinsci.plugins.zap.ZAPBuilder.perform(ZAPBuilder.java:277)
- at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
- at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)
- at hudson.model.Build$BuildExecution.build(Build.java:206)
- at hudson.model.Build$BuildExecution.doRun(Build.java:163)
- at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
- at hudson.model.Run.execute(Run.java:1816)
- at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
- at hudson.model.ResourceController.execute(ResourceController.java:97)
- at hudson.model.Executor.run(Executor.java:429)
复制代码 请求大家的帮助,谢谢。
|
|