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

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

AuthorFullName__c
JFrog Support
articleNumber
000001342
ft:sourceType
Salesforce
FirstPublishedDate
2016-10-06T13:38:15Z
lastModifiedDate
2016-10-06
VersionNumber
5

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: