Reference - https://confluence.atlassian.com/bitbucket/set-up-an-ssh-key-728138079.html
FlexDeploy version must be at least 4.5.2.123(Tomcat), 4.5.2.149(WebLogic). Git plugin must be 4.5.1.7 or higher.
Following steps must be done for FlexDeploy Server and Endpoint where Git commands will be executed.
- Locate or generate SSH keys. If no key found generate using "ssh-keygen" command, if you accept defaults id_rsa and id_rsa.pub files will be generated in ~/.ssh folder.
- Add SSH public key to Bitbucket account.
- Add key to ssh-agent.
eval `ssh-agent`
Agent pid 23595
ssh-add ~/.ssh/id_rsa
Identity added: /home/oracle/.ssh/id_rsa (/home/oracle/.ssh/id_rsa)
ssh-add -l
2048 50:b7:6b:95:9b:ce:1c:64:b6:d3:77:c7:46:22:e9:9e /home/oracle/.ssh/id_rsa (RSA)
- Test SSH connection.
- Configure SCM Integration instance.
- URL Example - git@bitbucket.org:flexagonteam/libraries.git