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 newATXServer
instance 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 newATXServer
instance with given commonly used settings.Creates a newATXServer
instance with named arguments.Gets aATXServer
instance by name.Gets aATXServer
instance 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 aATXServer
instance by name.- Parameters:
serverName
- the server name- Returns:
- the ATX server
-
server
Gets aATXServer
instance by named argument.- Parameters:
serverArgs
- the server arguments- Returns:
- the ATX server
-
newServer
Creates a newATXServer
instance 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 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
Creates a newATXServer
instance with named arguments.- Parameters:
serverArgs
- the server arguments- Returns:
- the ATX server
- Throws:
MalformedURLException
- the malformed URL exception
-