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:
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.
2. Find the last line and print the code comment of the log.
Just use jenkins to start the project.