Class ATXPipeline

    • Constructor Detail

      • ATXPipeline

        public ATXPipeline​(org.jenkinsci.plugins.workflow.cps.CpsScript script)
        Instantiates a new ATXPipeline.
        Parameters:
        script - the pipeline script
    • Method Detail

      • server

        public ATXServer server​(String serverName)
        Gets a ATXServer instance by name.
        Parameters:
        serverName - the server name
        Returns:
        the ATX server
      • server

        public ATXServer server​(Map<String,​Object> serverArgs)
        Gets a ATXServer instance by named argument.
        Parameters:
        serverArgs - the server arguments
        Returns:
        the ATX server
      • newServer

        public ATXServer newServer​(String atxName,
                                   String toolName)
        Creates a new ATXServer instance with default settings.
        Parameters:
        atxName - the ATX name
        toolName - the tool name
        Returns:
        the ATX server
      • newServer

        @Deprecated
        public ATXServer newServer​(String atxName,
                                   String toolName,
                                   ATXConfig config)
        Deprecated.
        The use of this signature might not work as expected. Please use the newATXServer step directly!
        Creates a new ATXServer instance with given ATXConfig.
        Parameters:
        atxName - the ATX name
        toolName - the tool name
        config - the ATX configuration
        Returns:
        the ATX server
      • newServer

        public ATXServer newServer​(String atxName,
                                   String toolName,
                                   String fullServerUrl,
                                   boolean uploadToServer,
                                   String authKey,
                                   String projectId)
                            throws MalformedURLException
        Creates a new ATXServer instance with given commonly used settings.
        Parameters:
        atxName - the ATX name
        toolName - the tool name
        fullServerUrl - the full server URL
        uploadToServer - specifies whether ATX upload is enabled or not
        authKey - the upload authentication key
        projectId - the project id
        Returns:
        the ATX server
        Throws:
        MalformedURLException - the malformed url exception