Versions:
- Ruby : ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-linux]
- Capistrano : 'capistrano', '2.15.5'
Platform:
- Working on.... RHEL 6.6
- Deploying to... RHEL 6.6
Logs:
it appears that the capistrano is running the command as only: git ls-remote g...@github.com:Hewlett-PackardDevOps/ows-oss-test.git dev.. Rather than
deploy_user@serverX 'git ls-remote g...@github.com:Hewlett-PackardDevOps/ows-oss-test.git dev'
So executing this on the jenkins slave:
[jenkins@ip-10-0-0-90 ~]$ git ls-remote ssh://g...@github.com:some_name.git dev
ssh: Could not resolve hostname github.com:some_name: Name or service not known
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
The above response/ERROR is what i have when executing the 'cap dev deploy'