Hope you are doing well.
All worked fine then. This is commit
131b0493d06b7370dd44af8f38f0ea3a1ca30162Now I want to upgrade the my local update center so I pulled the latest commit
efbad1d0e4c7f31e0a6f0c93a021068343422fa6Now I can successfully build it but when I run it, I get the error message
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:58 min
[INFO] Finished at: 2021-01-11T19:29:29Z
[INFO] ------------------------------------------------------------------------
...
root@97a546de5047:~/ext-jenkins-infra-update-center2-2.0# sh target/appassembler/bin/app
Exception in thread "main" java.lang.IllegalStateException: ARTIFACTORY_USERNAME and ARTIFACTORY_PASSWORD need to be set
at io.jenkins.update_center.DefaultMavenRepositoryBuilder.getInstance(DefaultMavenRepositoryBuilder.java:21)
at io.jenkins.update_center.Main.createRepository(Main.java:318)
at io.jenkins.update_center.Main.run(Main.java:236)
at io.jenkins.update_center.Main.run(Main.java:179)
at io.jenkins.update_center.Main.main(Main.java:167)
root@97a546de5047:~/ext-jenkins-infra-update-center2-2.0# java -Dfile.encoding=UTF-8 -jar target/update-center2--SNAPSHOT-bin/update-center2--SNAPSHOT.jar --id default
Exception in thread "main" java.lang.IllegalStateException: ARTIFACTORY_USERNAME and ARTIFACTORY_PASSWORD need to be set
at io.jenkins.update_center.DefaultMavenRepositoryBuilder.getInstance(DefaultMavenRepositoryBuilder.java:21)
at io.jenkins.update_center.Main.createRepository(Main.java:318)
at io.jenkins.update_center.Main.run(Main.java:236)
at io.jenkins.update_center.Main.run(Main.java:179)
at io.jenkins.update_center.Main.main(Main.java:167)
```
Would you be able to tell me why are credentials necessary now ? And how can I get them. I need to setup an update center locally since I run a closed build env and do not allow my clients to talk directly to
https://updates.jenkins.io/download/Thank you in advance.