How do I resolve build info deployment timeouts?

How do I resolve build info deployment timeouts?

AuthorFullName__c
JFrog Support
articleNumber
000001403
ft:sourceType
Salesforce
FirstPublishedDate
2016-10-06T13:35:44Z
lastModifiedDate
2024-03-10T07:48:00Z
VersionNumber
6

When the Jenkins Artifactory Plugin deploys build-info, it opens a connection to Artifactory, which triggers it to execute several processes relevant to the deployment. Accordingly, if you’re experiencing deployment timeouts, it might be because Artifactory is deleting many old builds that were configured in the build retention of your Jenkins job. And this might take longer to complete than the connection-timeout configured in Jenkins.
 

To resolve this issue, prior to running your build with build retention enabled, you can manually delete the old builds using the Delete Builds REST query available HERE. Alternatively, you can increase the length of your connection timeout by navigating to Jenkins UI > Manage Jenkins > Configure System > Artifactory > Advanced > Connection Timeout.