I have been looking at the documentation most of the documentation explains.
Here are my requirements
1. java project
2. pipeline uses custom image (with ssh installed)
3. create artifact jar, ear or whatever
4. Deploy that artifact to a remote servers (QA, TST and PROD) via ssh.
step 4 is where I am struggling with. Followed this document but I am struck at Step 2: Update the known hosts while I get an error as "unable to fetch fingerprints ....."
I am unsure of step 3 should I be adding known hosts file to the remote server or my custom docker image. I believe its remote server but then how does my custom docker image talk to the remote host?
Is there any documentation on of easy way to deploy the artifact to a remote server.