When do we see the following “Could not publish build-info: Read timed out” Error message?

JFrog Support
2016-10-06 13:38

The message "Could not publish build-info: Read timed out", usually happens when the build job is significantly bigger than other builds and/or if the ‘build retention’ option is used and there are a lot of old builds that need to be deleted after this build is deployed.

The reason is that the connection to Artifactory is kept open until all builds are deleted and the build info json is deployed, if this takes a long time, Jenkins might close the connection since it is not getting any response from Artifactory.

If this is the case, you could try to increase the connection timeout in the Jenkins general configuration page:

Click on Advanced, and edit the Connection Timeout settings: