added new AU options

This commit is contained in:
Miodrag Milic
2018-05-16 06:58:33 +02:00
parent 498f659e28
commit 30d9128cd2
+5 -1
View File
@@ -33,6 +33,8 @@ $Options = [ordered]@{
)
#RepeatSleep = 250 #How much to sleep between repeats in seconds, by default 0
#RepeatCount = 2 #How many times to repeat on errors, by default 1
#NoCheckChocoVersion = $true #Turn on this switch for all packages
Report = @{
Type = 'markdown' #Report type: markdown or text
@@ -77,6 +79,7 @@ $Options = [ordered]@{
Mail = if ($Env:mail_user) {
@{
To = $Env:mail_user
From = $Env:mail_from
Server = $Env:mail_server
UserName = $Env:mail_user
Password = $Env:mail_pass
@@ -103,7 +106,8 @@ $Options = [ordered]@{
}
if ($ForcedPackages) { Write-Host "FORCED PACKAGES: $ForcedPackages" }
$global:au_Root = $Root #Path to the AU packages
$global:au_Root = $Root #Path to the AU packages
$global:au_GalleryUrl = '' #URL to package gallery, leave empty for Chocolatey Gallery
$global:info = updateall -Name $Name -Options $Options
#Uncomment to fail the build on AppVeyor on any package error