You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before the v3, Artifacts path was an absolute path to AtataContext artifacts.
Now Artifacts path is split into 2 parts, basically it becomes a path relative to Artifacts Root.
Default Artifacts Root path is "{basedir}/artifacts/{build-start:yyyyMMddTHHmmss}".
Default Artifacts path is "{test-suite-name-sanitized:/*}{test-name-sanitized:/*}".
ArtifactsRoot properties and methods are located in AtataContext.GlobalProperties:
/// <summary>/// Gets or sets the Artifacts Root path template./// The default value is <c>"{basedir}/artifacts/{build-start:yyyyMMddTHHmmss}"</c>./// </summary>publicstringArtifactsRootPathTemplate{ get; set;}/// <summary>/// Gets the <see cref="DirectorySubject"/> of Artifacts Root directory./// <see cref="ArtifactsRootPathTemplate"/> property is used to configure the Artifacts Root path./// </summary>publicDirectorySubjectArtifactsRoot{ get;}/// <summary>/// Gets the path of Artifacts Root directory./// <see cref="ArtifactsRootPathTemplate"/> property is used to configure the Artifacts Root path./// </summary>publicstringArtifactsRootPath{ get;}/// <summary>/// <para>/// Sets the path template of the Artifacts Root directory./// The default value is <c>"{basedir}/artifacts/{build-start:yyyyMMddTHHmmss}"</c>./// </para>/// <para>/// The list of supported variables:/// </para>/// <list type="bullet">/// <item><c>{basedir}</c></item>/// <item><c>{build-start}</c></item>/// <item><c>{build-start-utc}</c></item>/// </list>/// </summary>/// <param name="directoryPathTemplate">The directory path template.</param>/// <returns>The same <see cref="AtataContextGlobalProperties"/> instance.</returns>public AtataContextGlobalProperties UseArtifactsRootPathTemplate(stringdirectoryPathTemplate);/// <summary>/// Sets the default Artifacts root path template with optionally/// including <c>"{build-start:yyyyMMddTHHmmss}"</c> folder in the path./// </summary>/// <param name="include">Whether to include the <c>"{build-start:yyyyMMddTHHmmss}"</c> folder in the path.</param>/// <returns>The same <see cref="AtataContextGlobalProperties"/> instance.</returns>public AtataContextGlobalProperties UseDefaultArtifactsRootPathTemplateIncludingBuildStart(boolinclude);
- #823 Move `TimeZone` instance property of `AtataContext` to `AtataContext.GlobalProperties`.
- #824 Move `BuildStart` and `BuildStartUtc` static properties of `AtataContext` to `AtataContext.GlobalProperties`.
- #825 Move `ModeOfCurrent` static property of `AtataContext` to `AtataContext.GlobalProperties`.
Before the v3, Artifacts path was an absolute path to
AtataContext
artifacts.Now Artifacts path is split into 2 parts, basically it becomes a path relative to Artifacts Root.
Default Artifacts Root path is
"{basedir}/artifacts/{build-start:yyyyMMddTHHmmss}"
.Default Artifacts path is
"{test-suite-name-sanitized:/*}{test-name-sanitized:/*}"
.ArtifactsRoot
properties and methods are located inAtataContext.GlobalProperties
:Removed
AtataContextBuilder
Artifacts configuration methods:New
AtataContextBuilder
Artifacts configuration method:The text was updated successfully, but these errors were encountered: