Jenkins error when starting the project

question

I encountered a problem when using Jenkins to deploy and start the project at work. The project was built successfully but the time kept increasing when released. However, there was no problem with the project itself, and the project could be started normally if deployed using traditional methods. The error is reported as shown below:
Insert image description here

Solution

It is due to the problem of printing logs in the jenkins file, and the code for printing logs needs to be commented out.
1. First find the jenkins file under project src/ci.
Insert image description here
2. Find the last line and print the code comment of the log.
Insert image description here
Just use jenkins to start the project.

Guess you like

Origin blog.csdn.net/mcband/article/details/128365981
Recommended