-
-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Creates scoring to evaluate plugins requiring old version of Jenkins core #275
Comments
JenkinsCoreProbe
should fail when version required is more than a year old
JenkinsCoreProbe
should fail when version required is more than a year oldjenkins-version
should fail when version required is more than a year old
I recommend this check be more elaborate to better mirror common motivations for recent core dependencies and our existing documentation, e.g. https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ I propose something like the following: (for the purposes of these examples we're at 2.387.2 and 2.399 at the moment, with 2.319.3 being the oldest LTS release supported by UC infra)
So, let's see how this would work with some examples:
While there's a huge difference between 2.277.4 and 2.190.3 (~2 years), as of today it doesn't make any practical difference between them unless we start considering special one-off circumstances like the tables-to-divs redesign as well. Even then, no difference between 2.263.4 and 2.190.3, so they should score alike. Obviously this can be done more or less aggressive for each of the factors influencing dependencies on older historic LTS lines. Another way to look at this might be to take usage stats into account, e.g., deduct from the score if your version is older than what X% of Jenkins users are using. That might be more difficult to justify though? |
In order to implement that, we should keep the current behavior of the probe (fetch and persisting the This is totally possible. |
jenkins-version
should fail when version required is more than a year old
Description of the bug
Currently, the probe is failing only is the version couldn't be find on the
update-center
data.We should evaluate the version we get from the
update-center
and see when was the version core was released. If that date is older than a threshold (1 year sounds enough), we should mark the probe as failing.EDIT: have to credit @basil for the idea
The text was updated successfully, but these errors were encountered: