Class ATXReportUploader

    • Constructor Detail

      • ATXReportUploader

        public ATXReportUploader​(ATXInstallation installation)
        Instantiates a new ATXReportUploader.
        Parameters:
        installation - the ATX installation
    • Method Detail

      • upload

        public boolean upload​(List<FilePath> reportDirs,
                              boolean usePersistedSettings,
                              boolean injectBuildVars,
                              boolean allowMissing,
                              Run<?,​?> run,
                              Launcher launcher,
                              TaskListener listener)
                       throws IOException,
                              InterruptedException
        Generates and uploads ATXReports.
        Parameters:
        reportDirs - the report directories
        usePersistedSettings - specifies whether to use report generator settings from persisted configurations file
        injectBuildVars - specifies whether to inject common build variables as ATX constants
        allowMissing - specifies whether missing reports are allowed
        run - the run
        launcher - the launcher
        listener - the listener
        Returns:
        true if upload succeeded, false otherwise
        Throws:
        IOException - signals that an I/O exception has occurred
        InterruptedException - if the build gets interrupted