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
I try to run generate.sh with command:
SECRET=/X/Certs ARTIFACTORY_URL="" ARTIFACTORY_API_URL="XX" ARTIFACTORY_REPOSITORY="XX" ARTIFACTORY_USERNAME="XX" ARTIFACTORY_PASSWORD="XXX" ./site/generate.sh ./wwwroot ./download --root-certificate ./certs/cert.pem --certificate ./certs/update-center.cert --key ./certs/update-center.key
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.