Class TMSReportUploader

    • Constructor Detail

      • TMSReportUploader

        public TMSReportUploader()
    • Method Detail

      • upload

        public boolean upload​(List<FilePath> reportFiles,
                              String credentialsId,
                              String timeout,
                              Item project,
                              FilePath workspace,
                              Launcher launcher,
                              TaskListener listener)
                       throws IOException,
                              InterruptedException
        Uploads the reports to the test management system.
        Parameters:
        reportFiles - the report files
        credentialsId - the credentials id
        timeout - the export timeout
        project - the project
        workspace - the workspace
        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