Replies: 2 comments 2 replies
-
@dima-b Thanks for the question. The error is cause by the pipeline attempting to switch into a mode where it prompts to continue, this is not a feature in a pipeline as there is no way to provide input while the pipeline is running. This is not a normal behaviour in my experience, so it could indicate a problem with your configuration or a bug. Let me ask a few additional questions to see if we can work out the issue: Are you able to provide a snippet of your pipeline YAML code? |
Beta Was this translation helpful? Give feedback.
-
Hi @BernieWhite thank you for the answer. Yes, you are right I'm running on a self-hosted agent. |
Beta Was this translation helpful? Give feedback.
-
HI, could you help me to figure out the reason of the error below:
##[error]Exception calling "ShouldContinue" with "2" argument(s): "Windows PowerShell is in NonInteractive mode. Read and Prompt functionality is not available."
Starting: Analyze Azure template files
Task : PSRule analysis
Description : Run analysis with PSRule.
Version : 2.6.2301031
Author : Bernie White
Help : https://github.com/Microsoft/PSRule-pipelines/blob/main/docs/tasks.md#ps-rule-assert
[info] Source 'D:\azure-agent_work\7\s.ps-rule' does not exist.
Checking PSRule
[info] Using repository: PSGallery
[info] Installing PSRule: 2.7.0
##[error]Exception calling "ShouldContinue" with "2" argument(s): "Windows PowerShell is in NonInteractive mode. Read and Prompt functionality is not available."
Finishing: Analyze Azure template files
Beta Was this translation helpful? Give feedback.
All reactions