setBranchName method
Use this method to set the branch used for the baseline of this run.
Syntax
let configval = config.setBranchName(branchName);
config.branchName = configval;
configval = config.branchName;
Note that this feature is available as both a method and a property.
Parameters
- branchName
- Type:string
- The branch name to be used by the configuration.
Return value
- Type: Configuration
-
The value returned is the object that called the method.
This allows you to use a fluent style to call the
setXXXX
methods of the Configuration class.