Issue
- I changed the security realm and since then
cje
operations are failing.
Environment
- CloudBees Jenkins Enterprise (CJE) - AWS/OpenStack/Anywhere
Resolution
cje
needs access to an administrative user in CJOC in order to do its work. If you changed the security realm, it won’t be able to log in using the previous Admin user. This situation can be fixed by using the API token for a user with Administrative access.
You will then need to edit the file .dna/secrets
under your CJE workspace in order to update the credentials to access CJOC. The keys to edit are named cjoc_username
and cjoc_password
. The cjoc_username
field is the username of your Jenkins Admin user and you will need to make sure that the cjoc_password
field is filled in with that users API token mentioned in the link above.
2 Comments