Friday, October 28, 2022

[SOLVED] jenkins exit status not zero error (status code 125)

Issue

At some point while operating Jenkins, I spit out status 125 and no error message appears. I can't find the error for #125.

The ssh forwarding test between the deployment server and the main server passed.


SSH: Connecting from host [ip-122.222.222]

SSH: Connecting with configuration [test2] ...

SSH: EXEC: completed after 7,807 ms

SSH: Disconnecting configuration [test2] ...

ERROR: Exception when publishing, exception message [Exec exit status not zero. Status [125]]

Finished: UNSTABLE


Solution

Finally, I found the answer. The answer was on the distribution server, a Docker-related error, and an error occurred on the distribution server, so only code for the error appeared on the Jenkins server.

If you get an error about #125, check the docker on the distribution server.



Answered By - kyubeom
Answer Checked By - Cary Denson (WPSolving Admin)