Class ETPipeline
- java.lang.Object
-
- de.tracetronic.jenkins.plugins.ecutest.tool.pipeline.ETPipeline
-
- All Implemented Interfaces:
Serializable
public class ETPipeline extends Object implements Serializable
Class providing pipeline methods in order to get or createETInstallation
instances.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ETPipeline(org.jenkinsci.plugins.workflow.cps.CpsScript script)
Instantiates a newETPipeline
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ETInstance
installation(String toolName)
Gets aETInstallation
instance by name.ETInstance
installation(Map<String,Object> installArgs)
Gets aETInstallation
instance by named argument.ETInstance
newInstallation(String toolName, String installPath)
Creates a newETInstance
instance with given name and installation path.ETInstance
newInstallation(String toolName, String installPath, String progId, int timeout, boolean registerComServer)
Creates a newATXServer
instance with server specific settings.ETInstance
newInstallation(Map<String,Object> installArgs)
Creates a newETInstallation
instance with named arguments.
-
-
-
Constructor Detail
-
ETPipeline
public ETPipeline(org.jenkinsci.plugins.workflow.cps.CpsScript script)
Instantiates a newETPipeline
.- Parameters:
script
- the pipeline script
-
-
Method Detail
-
installation
public ETInstance installation(String toolName)
Gets aETInstallation
instance by name.- Parameters:
toolName
- the tool name- Returns:
- the ecu.test installation
-
installation
public ETInstance installation(Map<String,Object> installArgs)
Gets aETInstallation
instance by named argument.- Parameters:
installArgs
- the installation arguments- Returns:
- the ecu.test installation
-
newInstallation
public ETInstance newInstallation(String toolName, String installPath)
Creates a newETInstance
instance with given name and installation path.- Parameters:
toolName
- the toolName nameinstallPath
- the installation path- Returns:
- the ecu.test installation server
-
newInstallation
public ETInstance newInstallation(String toolName, String installPath, String progId, int timeout, boolean registerComServer)
Creates a newATXServer
instance with server specific settings.- Parameters:
toolName
- the tool nameinstallPath
- the installation pathprogId
- the COM programmatic identifiertimeout
- the COM timeoutregisterComServer
- specifies whether to register the COM server before each start of ecu.test- Returns:
- the ecu.test installation server
-
newInstallation
public ETInstance newInstallation(Map<String,Object> installArgs)
Creates a newETInstallation
instance with named arguments.- Parameters:
installArgs
- the installation arguments- Returns:
- the ecu.test installation
-
-