-
-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The current operating system is not capable of running this task #1242
Comments
I don't know if it is possible to run a container in another container specifically for Azure DevOps. That's what I gather from the pool named |
The agent itself is not a container. The name (LinuxDocker) is choosen to indicate that docker is available. |
All this requirements are fulfilled (Agent-Version is 2.181.2). I guess that I will try a hosted agent. |
Could you give an example of some of the "normal" builds that work without any problems? This will be useful to see tasks in them that work for comparison sake. |
This is the requested pipeline for a "normal" build:
Perhaps relevant: This features are available on the agent (LinuxDocker)
|
Describe the bug
I tried to setup the dependabot on a Azure DevOps Server 2020.
I installed the extension (1.30.0.776).
I created the dependabot.yml-File and the pipeline.
But the task in the pipeline fails immediately with this error: "The current operating system is not capable of running this task. That typically means the task was written for Windows only. For example, written for Windows Desktop PowerShell."
Repository
It's a private (self hosted) repo.
Expected behavior
I expect the dependabot to complete successfully and create the pull requests to update the old packages.
Extension
Additional context
I tried to give the Project Collection Service Accounts all possible permissions.
As an Agent pool i use: Ubuntu - 20.04.5 LTS (Focal Fossa).
On the agent docker is installed. Docker-Version: 20.10.21, build baeda1f
This agent is used for the "normal" builds and works without any problems.
The Output is:
pipeline-yaml:
dependabot-yaml:
The text was updated successfully, but these errors were encountered: