Skip to content

A PowerShell module that facilitates build script interaction within Azure Devops Pipelines

License

Notifications You must be signed in to change notification settings

Rychard/AzurePipelineLogCommands

Repository files navigation

Azure Pipeline Log Commands

Build status

A PowerShell module that facilitates build script interaction within Azure Devops Pipelines

By default, Import-Module will import all functions with a prefix of Vsts. You can configure this behavior by passing the -Prefix parameter to Import-Module.

Files prefixed with _ are currently not implemented.

Here's the documentation used as the reference for this repository

Cmdlet Usage

Most of the implemented Cmdlets don't appear to work currently.

Those that do work are listed below.

Write-TaskError (Write-VstsTaskError)

Write-VstsTaskError -Message "This is an error" -SourcePath "C:\fake\path\error.ps1" -LineNumber 12 -ColumnNumber 34 -Code 'ERR-001'

Write-TaskWarning (Write-VstsTaskWarning)

Write-VstsTaskWarning -Message "This is a warning" -SourcePath "C:\fake\path\warning.ps1" -LineNumber 12 -ColumnNumber 34 -Code 'WARN-001'

About

A PowerShell module that facilitates build script interaction within Azure Devops Pipelines

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published