Class ATXPipeline
java.lang.Object
de.tracetronic.jenkins.plugins.ecutest.report.atx.pipeline.ATXPipeline
- All Implemented Interfaces:
Serializable
Class providing pipeline methods in order to get or create
ATXServer instances.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionATXPipeline(org.jenkinsci.plugins.workflow.cps.CpsScript script) Instantiates a newATXPipeline. -
Method Summary
Modifier and TypeMethodDescriptionCreates a newATXServerinstance with default settings.Deprecated.The use of this signature might not work as expected.newServer(String atxName, String toolName, String fullServerUrl, boolean uploadToServer, String authKey, String projectId) Creates a newATXServerinstance with given commonly used settings.Creates a newATXServerinstance with named arguments.Gets aATXServerinstance by name.Gets aATXServerinstance by named argument.
-
Constructor Details
-
ATXPipeline
public ATXPipeline(org.jenkinsci.plugins.workflow.cps.CpsScript script) Instantiates a newATXPipeline.- Parameters:
script- the pipeline script
-
-
Method Details
-
server
Gets aATXServerinstance by name.- Parameters:
serverName- the server name- Returns:
- the ATX server
-
server
Gets aATXServerinstance by named argument.- Parameters:
serverArgs- the server arguments- Returns:
- the ATX server
-
newServer
Creates a newATXServerinstance with default settings.- Parameters:
atxName- the ATX nametoolName- the tool name- Returns:
- the ATX server
-
newServer
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 newATXServerinstance 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
Creates a newATXServerinstance with named arguments.- Parameters:
serverArgs- the server arguments- Returns:
- the ATX server
- Throws:
MalformedURLException- the malformed URL exception
-