jenkinsci / plugin-installation-manager-tool

Plugin Manager CLI tool for Jenkins
MIT License
400 stars 203 forks source link

Prefer per plugin url over JENKINS_UC_DOWNLOAD_URL #728

Closed timja closed 1 month ago

timja commented 1 month ago

See https://github.com/jenkinsci/plugin-installation-manager-tool/pull/416#issuecomment-2405917489

Testing done

Ensured that:

export JENKINS_UC_DOWNLOAD_URL=http://localhost:8080
java -jar plugin-management-cli/target/jenkins-plugin-manager-2.13.2-SNAPSHOT.jar --plugins mailer:1.34:https://get.jenkins.io/plugins/mailer/1.34/mailer.hpi -d /tmp/plugins --jenkins-version 2.440 --verbose

downloads from get.jenkins.io

and ensured:

export JENKINS_UC_DOWNLOAD_URL=http://localhost:8080
java -jar plugin-management-cli/target/jenkins-plugin-manager-2.13.2-SNAPSHOT.jar --plugins mailer:1.34 -d /tmp/plugins --jenkins-version 2.440 --verbose

downloads from localhost:8080

Submitter checklist