Class ATXPipeline
- 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 createATXServer
instances.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ATXPipeline(org.jenkinsci.plugins.workflow.cps.CpsScript script)
Instantiates a newATXPipeline
.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ATXServer
newServer(String atxName, String toolName)
Creates a newATXServer
instance with default settings.ATXServer
newServer(String atxName, String toolName, ATXConfig config)
Deprecated.The use of this signature might not work as expected.ATXServer
newServer(String atxName, String toolName, String fullServerUrl, boolean uploadToServer, String authKey, String projectId)
Creates a newATXServer
instance with given commonly used settings.ATXServer
newServer(Map<String,Object> serverArgs)
Creates a newATXServer
instance with named arguments.ATXServer
server(String serverName)
Gets aATXServer
instance by name.ATXServer
server(Map<String,Object> serverArgs)
Gets aATXServer
instance by named argument.
-
-
-
Constructor Detail
-
ATXPipeline
public ATXPipeline(org.jenkinsci.plugins.workflow.cps.CpsScript script)
Instantiates a newATXPipeline
.- Parameters:
script
- the pipeline script
-
-
Method Detail
-
server
public ATXServer server(String serverName)
Gets aATXServer
instance by name.- Parameters:
serverName
- the server name- Returns:
- the ATX server
-
server
public ATXServer server(Map<String,Object> serverArgs)
Gets aATXServer
instance by named argument.- Parameters:
serverArgs
- the server arguments- Returns:
- the ATX server
-
newServer
public ATXServer newServer(String atxName, String toolName)
Creates a newATXServer
instance with default settings.- Parameters:
atxName
- the ATX nametoolName
- 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!- Parameters:
atxName
- the ATX nametoolName
- the tool nameconfig
- 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 newATXServer
instance with given commonly used settings.- Parameters:
atxName
- the ATX nametoolName
- the tool namefullServerUrl
- the full server URLuploadToServer
- specifies whether ATX upload is enabled or notauthKey
- the upload authentication keyprojectId
- 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 newATXServer
instance with named arguments.- Parameters:
serverArgs
- the server arguments- Returns:
- the ATX server
- Throws:
MalformedURLException
- the malformed URL exception
-
-