Jenkins encrypted credentials are lost when bringing up a new instance
12 views
Skip to first unread message
Stanford S. Guillory
unread,
Jul 5, 2017, 12:50:04 PM7/5/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jenkins...@googlegroups.com
When deploying a new Jenkins instance for an existing project, any encrypted credentials are lost and/or unreadable. We believe the underlying cause is that the new Jenkins instance installs Jenkins with a new, randomly generated encryption key instead of re-using the existing key.
We routinely bring up Jenkins instances by mounting an EBS volume with existing Jenkins data. Somehow the way we are bringing up the new Jenkins is causing it to generate a new encryption key that makes all our existing credential keys unreadable and we have to go fix the manually.