You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If using Hosted agent, provide agent queue name: Hosted VS2017
Issue Description
An update to v4 version of the task made 18 days ago added validation for the Azure Powershell Version that ignores the 'Latest installed version' setting.
If Latest installed version is selected and I try to save the build definition, I get this error: The pipeline is not valid. Job Job_1: Step input 'CustomTargetAzurePs' with value '' does not satisfy 'isMatch(value, '^[0-9]+\.[0-9]+\.[0-9]+$','Multiline')': Enter valid Azure PowerShell Version
If I change it to specify the version, then entering 1.0.0 works.
Task logs
There is no task log. The error occurs when saving a build definition.
The pipeline is not valid. Job Job_1: Step input 'CustomTargetAzurePs' with value '' does not satisfy 'isMatch(value, '^[0-9]+\.[0-9]+\.[0-9]+$','Multiline')': Enter valid Azure PowerShell Version
The text was updated successfully, but these errors were encountered:
Required Information
Entering this information will route you directly to the right team and expedite traction.
Question, Bug, or Feature?
Type: Bug
Enter Task Name: Azure PowerShell
list here (V# not needed): 4
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks
Environment
Azure DevOps Services
Agent - Hosted or Private: Hosted
Issue Description
An update to v4 version of the task made 18 days ago added validation for the Azure Powershell Version that ignores the 'Latest installed version' setting.
Relevant commit: d631201
If Latest installed version is selected and I try to save the build definition, I get this error:
The pipeline is not valid. Job Job_1: Step input 'CustomTargetAzurePs' with value '' does not satisfy 'isMatch(value, '^[0-9]+\.[0-9]+\.[0-9]+$','Multiline')': Enter valid Azure PowerShell Version
If I change it to specify the version, then entering 1.0.0 works.
Task logs
There is no task log. The error occurs when saving a build definition.
Troubleshooting
Checkout how to troubleshoot failures and collect debug logs: https://docs.microsoft.com/en-us/vsts/build-release/actions/troubleshooting
Error logs
The pipeline is not valid. Job Job_1: Step input 'CustomTargetAzurePs' with value '' does not satisfy 'isMatch(value, '^[0-9]+\.[0-9]+\.[0-9]+$','Multiline')': Enter valid Azure PowerShell Version
The text was updated successfully, but these errors were encountered: