Issue when cat entrypoint takes time to execute
Hello I have found a kind of issue when the entrypoint takes too much time to execute, in this case the 'cat' command that is checked in the code fails with a Error message. Anyway, the plugin keeps going successfully: see logs: ps: [entrypoint.sh, sudo, service, sshd, sshd-gen-keys-s, ssh-keygen]
Just waiting some time and retrying once solves this issue. see logs after retry: ps: [cat, sshd] -> works. Thanks to integrate such mechanism. Patrick
hey @predivo, @Slavyanak, @DenesCs, @jcormier, @javafrog, @felipecrs did you find a solution/workaround for this? => my entrypoint takes about 30 seconds to get some credentials and unpack them... which would be really nice to have is a timeout here
This issue doesn't block me so I didn't have to find any workarounds. But here are some ideas:
- You can build the hpi with this PR and install it in your Jenkins
- You can tweak your entrypoint to somehow do this time consuming operation in the background rather than waiting for it before running CMD