Hi @R C VIJAY,
Thanks for contacting Microsoft Q&A platform.
The error message you're encountering indicates that the Azure DevOps pipeline is referencing a task called 'CmdLine', but it is not available in your environment. This usually happens because the task is not installed or not included in your organization.
You may check below troubleshooting steps.
- Verify the Task Definition: Ensure that your pipeline YAML file correctly references the 'CmdLine' task. The correct reference for the CmdLine task should look like this:
- task: CmdLine@2 inputs: script: 'echo Hello, world!'
- Check Azure DevOps Marketplace:
- Visit Azure DevOps Marketplace.
- Use the search bar to find the 'CmdLine' task. If the task is available, you should see it listed there.
- If the 'CmdLine' task is available in the marketplace, install it to your Azure DevOps organization.
- Verify Task Installation:
- Go to your Azure DevOps organization.
- Click on the organization settings (gear icon).
- Under 'Extensions', verify that the 'CmdLine' task is listed and enabled.
Then re-run your pipeline.
Hope this helps you.