Class ZapArchive

    • Method Detail

      • archiveRawReport

        public void archiveRawReport​(Run<?,​?> dir,
                                     @Nonnull
                                     Job<?,​?> job,
                                     FilePath workspace,
                                     @Nonnull
                                     TaskListener taskListener,
                                     String falsePositivesFilePath)
                              throws ZapExecutionException
        Archives the current raw ZAP JSON report & saves static files
        Parameters:
        dir - the current run directory
        job - the current jenkins job
        workspace - filepath to the current workspace
        taskListener - Logging
        falsePositivesFilePath - path to the false positives file
        Throws:
        ZapExecutionException
      • shouldFailBuild

        public boolean shouldFailBuild​(TaskListener listener)
        Review the report, and fail the build according to given fail build parameters
        Parameters:
        listener - - Logging
        Returns:
        If the build should be failed
      • getRequiredMonitorService

        public BuildStepMonitor getRequiredMonitorService()