On Mon, Jun 13, 2022 at 12:58 PM James Robson <[email protected]>
wrote:

> I had created set of vms on my laptop just for this work
>

I would strongly recommended writing an integration test using
Testcontainers to do things like retrieve an SSH private key from Vault
running in a Docker container (using a specific pinned version of all
relevant software—let Dependabot keep your `Dockerfile` fresh) and then
passing it to an agent running in another container (again with a specific
version of Git, etc.) so as to check out from an authenticated Git server
running in yet another container. This would allow you or anyone else
working on the plugin to debug and examine the complete flow in a realistic
environment, without concern that a test environment might have become
corrupted or subtly altered; and ci.jenkins.io can run such a test as well
if you supply the `docker` label in `Jenkinsfile`.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr3W0e-44E79GtJp_2pgEp5o9UfgX088_6_A%3DNmYhMrfgw%40mail.gmail.com.

Reply via email to