a class that manages the BuildInfoPlugin instances that generate a build specific string for use in identifying individual test execution runs across multiple projects in a CICD environment returning either a string containing BUILDNAME_BUILDNUMBER or if there are no enabled BuildInfoPlugin instances, a string containing USERNAME_MACHINENAME_YYYYMMDD

Hierarchy

  • BuildInfoManager

Constructors

Properties

Accessors

Methods

Constructors

Properties

_aftLogger: AftLogger
_plugins: BuildInfoPlugin[] = ...
_safeStrOpt: SafeStringOption[] = ...
aftCfg: AftConfig

Accessors

Methods

  • gets the first enabled IBuildInfoPlugin and returns the value from it's buidlName function or a name consisting of USERNAME_MACHINENAME if no enabled plugins found

    Returns Promise<string>

    the build name generated by the first enabled IBuildInfoPlugin.buildName or a name consisting of USERNAME_MACHINENAME if no enabled plugins found

  • gets the first enabled IBuildInfoPlugin and returns the value from it's buildNumber function or a name consisting of the current date like: YYYYMMDD if no enabled plugins found

    Returns Promise<string>

    the build name generated by the first enabled IBuildInfoPlugin.buildNumber or a name consisting of the current date like: YYYYMMDD if no enabled plugins found

  • generates a build specific string for use in identifying individual test execution runs across multiple projects in a CICD environment

    Returns Promise<string>

    either a string containing buildName_buildNumber or if there are no enabled BuildInfoPlugin instances, a string containing USERNAME_MACHINENAME_YYYYMMDD

Generated using TypeDoc