Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jun 14 07:00

    dependabot[bot] on maven

    (compare)

  • Jun 14 07:00
    dependabot[bot] closed #334
  • Jun 14 07:00

    dependabot[bot] on master

    Bump commons-io from 2.9.0 to 2… (compare)

  • Jun 14 07:00
    timja commented #334
  • Jun 14 06:59

    dependabot[bot] on maven

    (compare)

  • Jun 14 06:59

    dependabot[bot] on master

    Bump mockito-core from 3.11.0 t… (compare)

  • Jun 14 06:59
    dependabot[bot] closed #336
  • Jun 14 06:59
    timja commented #336
  • Jun 14 05:01
    dependabot[bot] labeled #336
  • Jun 14 05:01
    dependabot[bot] opened #336
  • Jun 14 05:01

    dependabot[bot] on maven

    Bump mockito-core from 3.11.0 t… (compare)

  • Jun 14 05:01

    dependabot[bot] on maven

    (compare)

  • Jun 14 05:01
    dependabot[bot] closed #327
  • Jun 14 05:01
    dependabot[bot] commented #327
  • Jun 14 05:01
    dependabot[bot] labeled #335
  • Jun 14 05:01
    dependabot[bot] opened #335
  • Jun 14 05:01

    dependabot[bot] on maven

    Bump wiremock-jre8 from 2.27.2 … (compare)

  • Jun 14 05:01
    dependabot[bot] labeled #334
  • Jun 14 05:01
    dependabot[bot] opened #334
Tim Jacomb
@timja
and manually check that it works right when it's been packaged properly
hp77
@hp77-creator
@timja do you know any method by which I can check what is the userAgentInformation updates.jenkins.io is receiving, I have written something for issue jenkinsci/plugin-installation-manager-tool#313 but idk if it is doing its task or not, Shall I commit it then maybe you can review or is there any way for me to check it locally?
Tim Jacomb
@timja
@hp77-creator just log it out
1 reply
Kristin Whetstone
@kwhetstone
@timja I don't know if you saw this, but you might have some good feedback for Himanshu's GSoC proposal if you have time: https://groups.google.com/g/jenkinsci-gsoc-all-public/c/kIxUiEKBw7g
hp77
@hp77-creator
Oleg, Could you please help me a bit here, Looked a lot for but I am just getting theory or some random example in local caching, Did you mean to use instance of CacheManager Class and call its addCache method to store the userAgentInformation?
2 replies
hp77
@hp77-creator
Hi Oleg, @hp77-creator
Continuing the discussion here,
I read an answer here Although question is exact opposite of what your vision(vision is to replace all UncheckedIOException or other runtime exceptions to checked exceptions) for future project is. I was wondering is it possible for us to recover from the checkedExceptions?
And for the issue that I am trying to solve what's the recovery do you suggest, I mean some idea, Is there any example of code in the codebase where CheckedException is shown. I saw different exception classes written for the plugin-manager but they all extended RunTimeException, so I am not really sure how to do a CheckedException?
4 replies
I am referring to jenkinsci/plugin-installation-manager-tool#314 and the comment on changing the UncheckedExceptionIO to properly propagate the checkedException. link to the comment.
Kristin Whetstone
@kwhetstone
Great, thanks for the pr @hp77-creator !
1 reply
hp77
@hp77-creator
Can we get the version of plugins bundled in jenkins.war by unzipping it?
3 replies
hp77
@hp77-creator
Oleg and @timja can you please review jenkinsci/plugin-installation-manager-tool#314 ?
Oleg Nenashev
@oleg-nenashev
:warning: On April 13, 7AM UTC, we will host a special session about the plugin installation project idea. All potential students, mentors and Plugins Installation Manager contributors are welcome to join. The meeting will be recorded.
Kristin Whetstone
@kwhetstone
+1
vansoni
@vansoni
@oleg-nenashev - Is the meeting started?
Oleg Nenashev
@oleg-nenashev
Yes, starting now @vansoni
hp77
@hp77-creator
Oleg, I am really sorry, The electricity just went away at my place and I got disconnected.
hp77
@hp77-creator
Thank you for recording the session. Please share the link when its uploaded, I couldn't hear your explanation for my last doubt on maven repository as an installation source.
Oleg Nenashev
@oleg-nenashev
Sure, will do
Oleg Nenashev
@oleg-nenashev
Recording will be here: https://youtu.be/QJcwcLnHjRw . Now processing. FYI @hp77-creator
1 reply
Ryan Berger
@ryanberger-az
where is the jenkins-plugin-cli located by default? i see it referenced in a lot of the git repo's for plugins, but i am not sure what program natively lives when you install jenkins to be able to run it!
commands like: jenkins-plugin-cli --plugins azure-vm-agents:779.v5ea1414ec40f
Tim Jacomb
@timja
Thats just a shell script in the jenkins docker image running https://github.com/jenkinsci/plugin-installation-manager-tool
ncook-hxgn
@ncook-hxgn
image.png

Hi there, noob here, think I'm caught on a probably dumb thing.

I'm trying to get a list of plugins out of my existing Jenkins instance, so that I can set up a preprod environment to test Jenkins updates and such with out plugins

So far I'm not having much luck.. I'm hoping that whatever I've not done is really obvious.. I didn't think it was worth creating a Github issue for

ncook-hxgn
@ncook-hxgn
@timja I will give it a go, thank you kindly :)
@timja works like a charm, son! Thanks again :) Pre-prod here we go! :D
yr-sudhakar
@yr-sudhakar
Should the plugin-install-manager have a command line parameter to list all the plugins installed in a Jenkins controller? This output can be used to with the this tool can be used to rapidly install multiple and identical Jenkins controllers.
4 replies
yr-sudhakar
@yr-sudhakar
I was trying to use plugin-install-manager tool to document. Couple of days ago the tool was trying to reach the Jenkins mirror site in *.cn domain and timeout. Now, wget on
yr-sudhakar
@yr-sudhakar

hit enter by mistake earlier, A continuation .... Now, wget on https://get.jenkins.io/plugins/kubernetes-plugin/1.29.2/kubernetes-plugin.hpi and https://get.jenkins.io/plugins/kubernetes-plugin do not succeed. Wher
eas https://get.jenkins.io/plugins/kubernetes-plugin succeeds. Any comments on how to resolve it. More details follow.

wget https://get.jenkins.io/plugins/kubernetes-plugin/1.29.2/kubernetes-plugin.hpi -v
--2021-05-17 19:49:07-- https://get.jenkins.io/plugins/kubernetes-plugin/1.29.2/kubernetes-plugin.hpi
Resolving get.jenkins.io (get.jenkins.io)... 52.167.253.43
Connecting to get.jenkins.io (get.jenkins.io)|52.167.253.43|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2021-05-17 19:49:09 ERROR 404: Not Found.

wget https://get.jenkins.io/plugins/kubernetes-plugin/1.29.2/kubernetes-plugin.hpi -v
--2021-05-17 19:50:37-- https://get.jenkins.io/plugins/kubernetes-plugin/1.29.2/kubernetes-plugin.hpi
Resolving get.jenkins.io (get.jenkins.io)... 52.167.253.43
Connecting to get.jenkins.io (get.jenkins.io)|52.167.253.43|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2021-05-17 19:50:39 ERROR 404: Not Found.

wget https://get.jenkins.io/plugins/kubernetes-plugin -v
--2021-05-17 20:08:29-- https://get.jenkins.io/plugins/kubernetes-plugin
Resolving get.jenkins.io (get.jenkins.io)... 52.167.253.43
Connecting to get.jenkins.io (get.jenkins.io)|52.167.253.43|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2021-05-17 20:08:31 ERROR 404: Not Found.

wget https://get.jenkins.io/plugins -v
--2021-05-17 20:08:57-- https://get.jenkins.io/plugins
Resolving get.jenkins.io (get.jenkins.io)... 52.167.253.43
Connecting to get.jenkins.io (get.jenkins.io)|52.167.253.43|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://get.jenkins.io/plugins/ [following]
URL transformed to HTTPS due to an HSTS policy
--2021-05-17 20:08:58-- https://get.jenkins.io/plugins/
Reusing existing connection to get.jenkins.io:443.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘plugins’

plugins [ <=> ] 245.79K 149KB/s in 1.6s

2021-05-17 20:09:37 (149 KB/s) - ‘plugins’ saved [251684]

2 replies
yr-sudhakar
@yr-sudhakar
Plugin Install Manager page to be inserted in the vicinity of "Managing Plugins"section of Jenkins User Book is posted for review @ https://groups.google.com/d/msgid/jenkinsci-docs/836c6ffa-c02f-4fba-964a-79c9a4638c4bn%40googlegroups.com?utm_medium=email&utm_source=footer
hp77
@hp77-creator
@timja you closed jenkinsci/plugin-installation-manager-tool#10 but there is this jenkinsci/plugin-installation-manager-tool#263 which we have to solve right? Should I create a new PR for jenkinsci/plugin-installation-manager-tool#263 ?
Tim Jacomb
@timja
yes sure @hp77-creator it was closed because of lots of conflicts and no activity
yr-sudhakar
@yr-sudhakar
Hi @oleg-nenashevm,
Thanks for assigning you and @timja as reviewers. I intended to do the same. Maybe I do not have the aurthority to do the same, since I did not find any obvious way to assign when I was creating the JIRA issue.
4 replies
@oleg-nenashev and @timja do you think it is a good idea to name the binary jenkins-plugin-manager and the script jenkins-plugin-manager-script. This will help the user to identify easily as jenkins tools in their custom "scripts". Rename the tool to Plugin Manager (Tool) in the documentation, since, the tool does a lot more than just installing the plugin.
Tim Jacomb
@timja
scripts do not have a suffix of -script
so no -1
Oleg Nenashev
@oleg-nenashev
@yr-sudhakar Hi, thanks for working on that! I agree with @timja
yr-sudhakar
@yr-sudhakar
@MarkEWaite As part of the tool user guide review, you indicated that the plugin manager tool does not function as expected in some cases. If you can be specific, I can see if it impacts the content of the document.
@MarkEWaite When I am documenting the tool, I am not making an effort to take about plugin management per se, The document´s focus is to document the functionality of the tool from a user perspective.
holmesb
@holmesb

Hi, I've set the following environment variables:

- name: JENKINS_UC
  value: "http://updates.jenkins.io"
- name: JENKINS_UC_EXPERIMENTAL
  value: "http://updates.jenkins.io/experimental"
- name: JENKINS_INCREMENTALS_REPO_MIRROR
  value: "http://repo.jenkins-ci.org/incrementals"
- name: JENKINS_PLUGIN_INFO
  value: "http://updates.jenkins.io/plugin-versions.json"

Yet still (according to the log), it is trying to download plugins from https://get.jenkins.io:
"Tried downloading <plugin> from https://get.jenkins.io/plugins/<plugin>"

Any ideas?

Tim Jacomb
@timja
you need to override JENKINS_UC_DOWNLOAD if you want to change the download url, the update center includes download links which will be pointing to get.jenkins.io
what are you trying to achieve though? you have some weird proxy that doesn't work with ssl?
holmesb
@holmesb
done, still "Tried downloading <plugin> from https://get.jenkins.io/plugins/" with:
- name: JENKINS_UC_DOWNLOAD
  value: "http://updates.jenkins.io/download"
Yes I'm behind proxy that does a man-in-the-middle attack. Easiest way around is to use http endpoints instead of https
Proper solution would be to add the company CA certificate to trusted store. Perhaps I should try that instead. "Easy" option isn't turning out to be very easy
:-)
"add the company CA certificate to trusted store" - hopefully the helm chart I'm using allows this...
Tim Jacomb
@timja
yes that's what I would suggest doing instead, you can just build a custom docker image is the easiest solution which includes your company cert
Neil H Watson
@neilhwatson
Question about the plugin manager. When I run this command on a fresh Jenkins install, I see plugins being downloaded, but after I see no plugins installed in the UI
        java -jar /usr/share/jenkins/jenkins-plugin-manager.jar \
          --plugin-file /usr/share/jenkins/plugins.txt
Graeme Wilson
@techlunacy
@neilhwatson you need to restart jenkins after the installation. maybe you could get away with a reload? or are you running before it starts?