Class ETPipeline
java.lang.Object
de.tracetronic.jenkins.plugins.ecutest.tool.pipeline.ETPipeline
- All Implemented Interfaces:
Serializable
Class providing pipeline methods in order to get or create
ETInstallation
instances.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionETPipeline
(org.jenkinsci.plugins.workflow.cps.CpsScript script) Instantiates a newETPipeline
. -
Method Summary
Modifier and TypeMethodDescriptioninstallation
(String toolName) Gets aETInstallation
instance by name.installation
(Map<String, Object> installArgs) Gets aETInstallation
instance by named argument.newInstallation
(String toolName, String installPath) Creates a newETInstance
instance with given name and installation path.newInstallation
(String toolName, String installPath, String progId, int timeout, boolean registerComServer) Creates a newATXServer
instance with server specific settings.newInstallation
(Map<String, Object> installArgs) Creates a newETInstallation
instance with named arguments.
-
Constructor Details
-
ETPipeline
public ETPipeline(org.jenkinsci.plugins.workflow.cps.CpsScript script) Instantiates a newETPipeline
.- Parameters:
script
- the pipeline script
-
-
Method Details
-
installation
Gets aETInstallation
instance by name.- Parameters:
toolName
- the tool name- Returns:
- the ecu.test installation
-
installation
Gets aETInstallation
instance by named argument.- Parameters:
installArgs
- the installation arguments- Returns:
- the ecu.test installation
-
newInstallation
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
Creates a newETInstallation
instance with named arguments.- Parameters:
installArgs
- the installation arguments- Returns:
- the ecu.test installation
-