Class AbstractTMSClient

    • Constructor Detail

      • AbstractTMSClient

        public AbstractTMSClient()
    • Method Detail

      • login

        public boolean login​(com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials credentials,
                             Launcher launcher,
                             TaskListener listener)
                      throws IOException,
                             InterruptedException
        Logs in to preconfigured test management service in ecu.test.
        Parameters:
        credentials - the credentials
        launcher - the launcher
        listener - the listener
        Returns:
        true, if login succeeded, false otherwise
        Throws:
        IOException - signals that an I/O exception has occurred
        InterruptedException - if the build gets interrupted
      • isCompatible

        protected boolean isCompatible​(ToolVersion minVersion,
                                       FilePath workspace,
                                       Launcher launcher,
                                       TaskListener listener)
                                throws IOException,
                                       InterruptedException
        Checks the currently running ecu.test version for compatibility reasons and tests whether the test management module is available.
        Parameters:
        minVersion - the minimum required ecu.test version
        workspace - the workspace
        launcher - the launcher
        listener - the listener
        Returns:
        true if compatible, false otherwise
        Throws:
        IOException - signals that an I/O exception has occurred
        InterruptedException - if the build gets interrupted