Jenkins Log to find out what causes work

I have a job in Jenkins that is testing nunit tests for a project. The Jenkins job fails, although all unit tests pass.

So, Jenkins says the build fails - but the test results don't show failures.

I can't figure out what makes a job fail. Is there any way to see what makes Jenkins' work flagged as unsuccessful? that is, a detailed log file for the job, or something else? Any suggestions would be highly appreciated.

+4
source share
1 answer

Did you check the console output for the failed job?

However, errors in the Console exit can be difficult to find and then harder to understand. Sometimes I need to log in / remotely access the assembly machine and build a solution or run unit tests manually to see the error in an invisible, not abstracted form (i.e. in the VisualStudio IDE or in the NUnit GUI).

Oh, and the Log Parser Plugin makes troubleshooting Jenkins a lot easier.

+2
source

Source: https://habr.com/ru/post/1389608/


All Articles