Comments (6)
Tiered update sites are used to provide plugin releases compatible with the user-specified core version; there is no reason for anyone to ever access the current/
update site in an installation/deployment scenario. The correct URL for that is always /update-center[.actual].json?version=2.xxx[.y]
.
Besides that, I don't know enough about how this component works to contribute to this conversation.
from plugin-installation-manager-tool.
you should just always use the update site directly (https://updates.jenkins.io)
We don't direct update site json files to mirrors at all, (even though the mirror's do have the files)
from plugin-installation-manager-tool.
similar to #169
valid requirement and it's a bug.
from plugin-installation-manager-tool.
Hmm this already seems to work?
wget https://get.jenkins.io/war/2.252/jenkins.war
java -jar plugin-management-cli/target/jenkins-plugin-manager-*.jar --plugins workflow-basic-steps --war jenkins.war -d plugins
Downloading plugin workflow-basic-steps from url: https://updates.jenkins.io/download/plugins/workflow-basic-steps/2.22/workflow-basic-steps.hpi
Basically we use what's called an update site tier (which includes your core version):
curl --location --silent --fail https://updates.jenkins.io/update-center.actual.json?version=2.252 | jq --raw-output '.plugins["workflow-basic-steps"].version'
2.22
$ curl --location --silent --fail https://updates.jenkins.io/update-center.actual.json?version=2.268 | jq --raw-output '.plugins["workflow-basic-steps"].version'
2.23
See more in the update center docs:
https://updates.jenkins.io/#version-specific-update-sites
and
https://github.com/jenkins-infra/update-center2/tree/master/site#dynamic-update-site-tiers
Is this exactly the issue that you hit, or theoretical in some way?
@daniel-beck in case I missed something
from plugin-installation-manager-tool.
the component doesn't current
it uses the tiered update sites.
from plugin-installation-manager-tool.
Aha! I see now, thanks for the clarification since I used the current/
update site from one of the mirrors, and it works now by using the default setup:
Although if I use http://mirror.xmission.com/jenkins/updates/update-center.json
the issue still persists, so maybe there is something wrong with that particular mirror, while if I use http://mirror.xmission.com/jenkins/updates/stable/update-center.actual.json
it works.
Other than that, thanks again and sorry for the false alarm.
from plugin-installation-manager-tool.
Related Issues (20)
- Dependency Dashboard
- Port already in use when jmx enabled HOT 3
- Improve plugin not found error message
- Changing user/group causes strange NoSuchFileException HOT 5
- Release 2.12.12 incomplete (JAR file not published) HOT 12
- jenkins-plugin-cli --plugins ansicolor is not working HOT 4
- plugin-x requires a greater version of Jenkins when using internal remote repository as mirror of jenkins UC HOT 3
- Write checksum to output list
- Sample command in README.md misses download directory option HOT 2
- Improve the CLI output when the plugin is already present in the directory HOT 9
- Improve the console log after downloading the plugin HOT 2
- Plugin dependencies not properly downloaded HOT 1
- CLI tool does not return an error code when it says "War not found"
- Allow Jenkins plugin to downgrade package
- Trying to download a plugin version that has not yet been published but is on github HOT 6
- Added in different repo deleting it
- org.jenkins-ci.plugins.workflow:workflow-aggregator:2.6 : Not able to build with UAT enabled. (Java Version Incompatibility) HOT 9
- `/experimental` UC receiving the same amount of requests than normal UC
- Output a useful URL to download each plugin HOT 5
- Provider "jar" not found HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plugin-installation-manager-tool.