java.lang.Object
de.tracetronic.jenkins.plugins.ecutest.report.atx.pipeline.ATXPipeline
All Implemented Interfaces:
Serializable

public class ATXPipeline extends Object implements Serializable
Class providing pipeline methods in order to get or create ATXServer instances.
See Also:
  • Constructor Details

    • ATXPipeline

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

    • 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
    • newServer

      public ATXServer newServer(Map<String,Object> serverArgs) throws MalformedURLException
      Creates a new ATXServer instance with named arguments.
      Parameters:
      serverArgs - the server arguments
      Returns:
      the ATX server
      Throws:
      MalformedURLException - the malformed URL exception