Hi, trying to create my own updatecenter using GitHub - jenkins-infra/update-center2: Jenkins Update Center backend. Looking at the readme I understood that I should start the work by running the generate script ( matching certificates, variables as well as artifactory repo). I attached plugins in the repository using mvn deploy which looks like the right configuration. However, when running the script, I encounter the error ./site/generate-htaccess.sh [ …].
Expected at least one argument.
The tmp/tiers.json file does not contain any values. On what basis is this file generated? Why does it remain empty?
Is there documentation that shows actually how to create such a center? I am keen on providing plugins from my own artifactory for security reasons
INFO i.j.u.j.TieredUpdateSitesGenerator#update: Did not find declared core dependency version among all core releases: 2.263.4. It is used by org.jenkins-ci.plugins:docker-build-publish:1.4.0
Usage: ./site/generate-htaccess.sh [<release> ...]
Expected at least one argument.
Make sure that the generate.sh script is correctly calling generate-htaccess.sh with the necessary arguments.
The tiers.json file is typically generated based on the plugins and their metadata. Ensure that your Artifactory repository is correctly set up and accessible.
Make sure to provide the necessary arguments to the generate-htaccess.sh script.
Here is an example command to run the generate.sh script with the necessary environment variables and arguments:
Also I have deployed plugins on artifactory with mvn, it looks like good ledder in artifactory with all metadata. As far I can understand using generate.sh is the first step of running own UpdateCenter.
Looking at the above code, the situation is quite strange and I can’t debug it enough why generate-httaccess.sh gets an empty argument list when a few lines earlier weekly_releases is taken from tiers.json which indicates that this file is empty. Please let me know how artifactory should be configured so that it works properly and the tiers.json file is created.