I'm attempting to clone a remote GitHub enterprise repository and am running into the following error after adding my remote repo's URL to the Git Plugin in my Jenkins configuration:
hudson.plugins.git.GitException: Command "/usr/bin/git -c askpass=true fetch --tags --progress https://github.com/myUsername/myProject.git refs/heads/*:refs/remotes/origin/*" returned status code 128: stdout: stderr: fatal: unable to access https://github.myOrg.com/myUsername/myProject.git/': Failed to connect to github.com port 443: Operation timed out at...
Configuration details & things I have tried:
- Jenkins URL is at default of http://localhost:8080/ (Getting the warning: "Please set a valid host name, instead of localhost")
- All dependencies listed have been installed for the Git Plugin
- I have added git credentials for authorization to my organization's remote repo
- I tried to add my personal (non-enterprise git account) credentials & repo to the plugin with the same result
- I have set my "Path to Git executable" to both 'git' and '/usr/bin/git'
- I can connect to Git both through the command line and in the browser
Questions:
- Am I somehow supposed to provide authentication (ssh keys) just for Jenkins to use/clone my remote repo?
- Why does Jenkins throw a warning for leaving the default URL? Does this mean I need to 'put' Jenkins somewhere other than my local machine?
I have been troubleshooting this for a few days now and am unsure of what my problem(s) are at this point! Please help!!