Step 1: Debug a Failed Build Pipeline- How do we examine logs. 

  • Go to Failed Pipeline and clicked for details

 

  • We can see ‘the build task.’  has failed. click on build solution or task to check more details
  • For better visibility click button below - It will open this in a browser.

 

  • Scroll down and see the error part
  • Go check more details where exact error started start scrolling upwards. 

 

 

Step 2: Check the agent pool config.

  • Lets go back to your pipeline > Edit mode > check  config of failed part. related setting might  be wrong. 

 

 

Step 3: Check the self hosted logs

  • If it's a self-hosted agent, go and look the logs of your self-hosted agent.  try to narrow it down by identifying if it's a if it's a pipeline issue or application issue.

 

 

Step 3: Check Pipeline History

  • in classic Pipeline > go to edit mode and check History
  • Can compare changes done with previous version like git
  • You can see who has done what kind of change.

 

Who is responsible?

  • if it's a pipeline related issue, Agent pool related issue, you are responsible to fix it.And if it is an application issue, if the build is failing because of some application issue, then you can pass pass it to the development team.

 

 

 


Related Question