Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jenkins how to change the Update Center

Tags:

jenkins

I want to create custom Update Center for internal org plugins.

I try to do it with juseppe.

From my Jenkins server I succeed to download the JSON page via curl command.

But when I change the default update site to the new URL I still see the official Jenkins plugins and not my.

I didn't see any log of Update Center when I press the Check now button.

Also I try to use the UpdateSites Manager plugin, but the same problem.

Please advise how I need to configure and where I can find the log of update site.

like image 477
Shurik Avatar asked Jun 23 '16 08:06

Shurik


People also ask

Where is Jenkins Update Center?

The experimental plugin site is located at https://updates.jenkins.io/experimental/. Configure https://updates.jenkins.io/experimental/update-center.json in Jenkins to receive experimental releases (those with alpha or beta in their version numbers).

How create Jenkins Update Center?

This can be done using UpdateSites Manager plugin. Once you install this plugin, you can add custom update centers to Jenkins. Go to Manage Jenkins > Manage UpdateSites and you should see a form to add update center details.

How do I change the mirror in Jenkins?

Steps to create local mirror of Jenkins update center: Put update-center. crt into ${JENKINS_HOME}/update-center-rootCAs folder. Go to Jenkins → Manage Jenkins → Manage Plugins → Advanced → Update Site and submit URL to your update-center. json .


1 Answers

I activated my custom update center by directly putting it into $JENKINS_HOME/hudson.model.UpdateCenter.xml:

<?xml version='1.0' encoding='UTF-8'?>
<sites>
  <site>
    <id>jenkinsupdatecenter</id>
    <url>https://myupdatecenter.local/update-center.json</url>
  </site>
</sites>
like image 166
Alex O Avatar answered Sep 18 '22 14:09

Alex O