How to manage java certificates in a distributed Jenkins build environment?

I have a Jenkins server that consolidates nodes as build traffic grows. I am trying to run integration tests with one project, and this requires that I have a generated key-key for connecting to a secure system. (The system is configured as close to prod as possible, and a bonus! It's outside of my direct control).

How can I get it in the system?

  • If I lowered it manually to node, I should know that node runs the tests, and I have to drop the file every time.
  • If I check it for the original control, it will be downloaded to the computer and will be insecure in the workspace directory (if the task is successful, you cannot delete it sequentially)
  • Downloading from the SSL site leaves us with the same problems as the original control.
+4
source share
1 answer

You can use Copy to Slave plugin to automatically copy the keystore from the wizard to node. This will happen every time the task runs on node, as part of the workspace setting (so that it is available before the actual task starts). You use it to copy the keystore to the workspace, and you can reference it with a relative path.

+1
source

Source: https://habr.com/ru/post/1532173/


All Articles