microsoft / azure-pipelines-tasks

Tasks for Azure Pipelines
https://aka.ms/tfbuild
MIT License
3.47k stars 2.6k forks source link

Azure cli task fails with exit code 1 #17868

Closed vivek602 closed 1 year ago

vivek602 commented 1 year ago

Note

azure cmdLine@2 tasks fails with exit code 1

output:

If you have an issue or request for the Azure Pipelines service, use developer community instead:

https://developercommunity.visualstudio.com/spaces/21/index.html )

Required Information

Entering this information will route you directly to the right team and expedite traction.

Question, Bug, or Feature?
Question: Azure cli task "cmdLine@2 is failing with exit code 1"

Enter Task Name: cdmLine@2

list here (V# not needed):
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks

Environment

Issue Description

I am trying to create squash merge from feature to main branch through azure cli tasks and while doing that the job is failing with exit code 1, I am unable to understand the reason of it. Please help

Task logs

[Enable debug logging and please provide the zip file containing all the logs for a speedy resolution]

Troubleshooting

Checkout how to troubleshoot failures and collect debug logs: https://docs.microsoft.com/en-us/vsts/build-release/actions/troubleshooting

Error logs

git remote set-url origin https://***@github.com/*********/tim-actpm-integration-OI-discount.git

nothing to commit, working tree clean

[debug]Exit code 1 received from tool '/usr/bin/bash'

[debug]STDIO streams have closed for tool '/usr/bin/bash'

[error]Bash exited with code '1'.

[Insert error from the logs here for a quick overview]

vivek602 commented 1 year ago

can you please help?

LiliaSabitova commented 1 year ago

Hi @vivek602, thanks for reporting! We are working on more prioritized issues at the moment but will get back to this one soon.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 180 days with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days