0

using a couple of username/password, credential-id created by Jenkins is unique and valid just for that Jenkins installation or is the same for each Jenkins installation?

So, if i create a credential-id and put in the pipeline, if I use another jenkins installation I have to regenerate credential-id?

Thanks.

unrue
  • 149
  • 1
  • 2
  • 10
  • Check this out: https://stackoverflow.com/questions/30704856/how-to-export-credentials-from-one-jenkins-instance-to-another – Technext Sep 03 '19 at 06:19
  • Ok, so the answer is No, the credential-id are not portable, unless you do some trick. Modify the credential.xml file not seems a good idea im my hopinion. – unrue Sep 03 '19 at 07:23
  • I think it _does_ mention a way (encryption keys in both Jenkins instances) using which you don't really have to play with `credential.xml` file. – Technext Sep 03 '19 at 08:07

0 Answers0