[JIRA] (JENKINS-61046) Allow plugins to force an update of an UpdateSite

3 views
Skip to first unread message

jnord@cloudbees.com (JIRA)

unread,
Feb 11, 2020, 6:07:02 AM2/11/20
to jenkinsc...@googlegroups.com
James Nord created an issue
 
Jenkins / Improvement JENKINS-61046
Allow plugins to force an update of an UpdateSite
Issue Type: Improvement Improvement
Assignee: James Nord
Components: core
Created: 2020-02-11 11:06
Priority: Minor Minor
Reporter: James Nord

Currently plugins can request an asynchronous update of an `UpdateSite` but that request may or may not happen.
the reasons it may not happen is that the UpdateSite was updated recently (and cached) however a plugin should still be able to force the update if it knows reasons why an update should be available.

 

removing the cache and then asking for an asynchronous update is a hacky solution - (especially if there is a transient error fetching the json) - so this request is to unrestrict updateDirectlyNow()

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages