Cpo Design

VSTS - Release configuration - Publish into log

Pavel Svarc Thursday, February 9, 2017 1:06 PM

Using VSTS when working with release sometimes there is need to preserve the information into log files.


Here is guide how to do this.

Get-ChildItem -Path $path -Recurse | Foreach-Object {
if ( $_.Attributes -eq 'Directory' )
Write-Verbose "Processing directory : $_" -vebose
}else {
Write-Verbose $_.FullName -verbose
$fullname = $_.FullName
Write-Verbose "##vso[task.uploadfile]$fullname" -verbose

Related posts

Currenlty there are no related articles.