Date: Fri, 29 Mar 2024 21:07:47 +1100 (AEDT) Message-ID: <1376696515.291.1711706867951@SYDWEB02> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_290_1472264589.1711706867950" ------=_Part_290_1472264589.1711706867950 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Artifacts are files that registered in Continua CI as important = files. By registering a file as an artifact, it can then be viewed through = the browser or downloaded to the current user's computer.
Workspace rules
= span>[1.1] Output\**= .xml [1.2] Output\*\**.exe [1.3] Output\log.txt
[1.1] - Registers all files with the ".xml" extension in the Output directory as artifacts.
[1.2] - Registers all files with the ".exe" extension i= n any directories underneath the Output d= irectory. It won't match any ".exe" files directly in= the Output directory.
[1.3] - Registers the single file log.txt in the
[2.1] nunit | O= utput\test*.xml [2.2] image | Output\**.png
[2.1] - Registers all files that start with "test" and = end with ".xml" in and only in the Outpu= t directory as artifacts and registers them as viewable by th= e nunit viewer.
[2.2] - Registers all files with the ".png" extension i= n the Output directory and all directories under= neath it as artifacts and registers them as viewable by the image= strong> viewer.
Add the colon ":" operator after a file path with a zip extension on the= left-hand side of a rule to specify that the archive file should be extrac= ted to the path on the right side of the rule. Archive rules are processed = before all other rules. Note that only zip archive files are currently supp= orted.
3.1 Report.zip:= > Report/ExtractedFiles 3.2 Report.zip: -> Report/ExtractedFlattened 3.3 Report.zip: >> Report/ExtractedFiles 3.4 Report.zip: ->> Report/ExtractedFlattened 3.5 **/Report.zip: > Report/ExtractedFiles 3.6 Report*.zip: -> Report/ExtractedFlattened 3.7 Report?.zip: >> Report/ExtractedFiles 3.8 */Report.zip: ->> Report/ExtractedFlattened
The archive files in the server workspace are automatically extracted at= the end of the stage. Note that the operators for preserving and emptying = the destination folder are also taken into account when extracting.
[3.1] - Extracts all the files in the archive =
Report.zip to the folder
[3.2] - Extracts all the files in the archive Re=
port.zip to the folder Report/ExtractedFlattened. Flattens the zip directory structure s=
o that all files are extracted directly to Report=
/ExtractedFlattened.
[3.3] - Extracts all the files in the archive Re=
port.zip to the folder Report/ExtractedFiles. Empties the destination folder before extr=
acting files.
[3.4] - Extracts all the files in the archive Re=
port.zip to the folder Report/ExtractedFlattened. Empties the destination folder before =
extracting files. Flattens the zip directory structure so that all files ar=
e extracted directly to Report/ExtractedFlattened=
.
[3.5] - Extracts all the files in all archive files named Report.zip in any subfolder recursively to =
the folder Report/ExtractedFiles. Preser=
ves the directory structure within the zip file.
[3.6] - Extracts all the files in all archive files with a name starting w=
ith Report and ending with .zip&nbs=
p;to the folder Report/ExtractedFlattened<=
/strong>. Flattens the zip directory structure so that all files are extrac=
ted directly to Report/ExtractedFlattened.
[3.7] - Extracts all the files in all archive files with a name starting w=
ith Report, followed by a single character, followed by .zip to the folder
You can also add a pattern to specify which files to extract from the se= rver archive file.
4.1 Report.zip:= /*.html > ReportHtmlFiles 4.2 Report.zip:/**.html > Report/HtmlFiles 4.3 Report.zip:/Main/**.xml > MainReport/XmlFiles 4.4 Report.zip:/Report/**/Main/**.html > MainReport/HtmlFiles
[4.1] - Extracts all the html&n=
bsp;files in the root folder of the archive
[4.2] - Extracts all the html&nbs=
p;files in the archive Report.zip=
to the folder Report/HtmlFiles=
. Preserves the directory structure within the zip file.
[4.3] - Extracts all the xml =
;files under the Main folder in the archive
[4.4] - Extracts all the html&nbs=
p;files under the Report folder in the archive