Class ATXServer
java.lang.Object
de.tracetronic.jenkins.plugins.ecutest.report.atx.pipeline.ATXServer
- All Implemented Interfaces:
Serializable
Class holding ATX server specific settings in order to publish ATX reports.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCustomSetting
(String settingName) Gets a single ATX custom setting by name.ATXSetting<?>
getSetting
(String settingName) Gets a single ATX setting by name.Gets all ATX settings as map.void
overrideSetting
(String settingName, Object settingValue) Overrides an existing ATX setting with the specified value.void
overrideSettings
(Map<String, Object> settings) Override multiple ATX settings via named arguments map.void
publish()
Publishes ATX reports with default archiving settings.void
publish
(boolean allowMissing, boolean runOnFailed, boolean archiving, boolean keepAll) Publishes ATX reports with given archiving settings.void
Publishes ATX reports with given archiving settings as named arguments map.void
setScript
(org.jenkinsci.plugins.workflow.cps.CpsScript script) Sets the pipeline script.
-
Constructor Details
-
ATXServer
Instantiates a newATXServer
.- Parameters:
installation
- the ATX installation
-
-
Method Details
-
getInstallation
-
setScript
public void setScript(org.jenkinsci.plugins.workflow.cps.CpsScript script) Sets the pipeline script.- Parameters:
script
- the pipeline script
-
publish
public void publish()Publishes ATX reports with default archiving settings. -
publish
public void publish(boolean allowMissing, boolean runOnFailed, boolean archiving, boolean keepAll) Publishes ATX reports with given archiving settings.- Parameters:
allowMissing
- specifies whether missing reports are allowedrunOnFailed
- specifies whether this publisher even runs on a failed buildarchiving
- specifies whether archiving artifacts is enabledkeepAll
- specifies whether artifacts are archived for all successful builds, otherwise only the most recent
-
publish
Publishes ATX reports with given archiving settings as named arguments map.- Parameters:
settings
- the settings map
-
getSetting
Gets a single ATX setting by name.- Parameters:
settingName
- the setting name- Returns:
- the setting
-
getCustomSetting
Gets a single ATX custom setting by name.- Parameters:
settingName
- the custom setting name- Returns:
- the custom setting
-
getSettings
Gets all ATX settings as map.- Returns:
- the settings map
-
overrideSetting
Overrides an existing ATX setting with the specified value.- Parameters:
settingName
- the setting namesettingValue
- the setting value asString
orBoolean
-
overrideSettings
Override multiple ATX settings via named arguments map.- Parameters:
settings
- the settings map
-