Open BryanWilhite opened 5 years ago
Songhay.Feeds
successful inline PowerShell script:
$job = @{ Name = "job-feeds"; SubscriptionName = "Songhay System"; WebSiteName = "songhay-system"; ZipFile = "$env:AGENT_RELEASEDIRECTORY\$env:BUILD_DEFINITIONNAME\drop\Songhay.Feeds.Shell.zip"; } Get-AzureSubscription -SubscriptionName $job.SubscriptionName Select-AzureSubscription -SubscriptionName $job.SubscriptionName New-AzureWebsiteJob ` -Name $job.WebSiteName ` -JobName $job.Name ` -JobType Triggered ` -JobFile $job.ZipFile
document that the conventional Azure DevOps release variables have be converted to PowerShell; use Get-ChildItem env:
Get-ChildItem env:
Songhay.Feeds
release is the first example of thissuccessful inline PowerShell script: