-
Bug
-
Resolution: Not A Defect
-
Critical
-
None
-
jenkins:2.204.1
git:4.0.0
git-client:3.0.0
git-server:1.9
I have a multi branch project setup, within the pipeline I do an additional fetch with the help of 'GIT_ASKPASS' as I described here: https://github.com/imod/jenkins-git-askpass-pipeline-lib
with this plugin combination it is working:
- jenkins:2.176.2
git:3.12.0
git-client:2.8.1
git-server:1.8
with this plugin combination it is NOT working anymore:
- jenkins:2.204.1
git:4.0.0
git-client:3.0.0
git-server:1.9
the error I get is this:
Cloning repository https://bitbucket.org/xxxx/dummy.git > git init /home/ec2-user/workspace/org_dummy_develop # timeout=10 Fetching upstream changes from https://bitbucket.org/xxxx/dummy.git > git --version # timeout=10 using GIT_ASKPASS to set credentials YOOBOT_BITBUCKET > git fetch --no-tags --progress -- https://bitbucket.org/xxxx/dummy.git +refs/heads/develop:refs/remotes/origin/develop # timeout=10 ERROR: Error cloning remote repo 'origin' hudson.plugins.git.GitException: Command "git fetch --no-tags --progress -- https://bitbucket.org/xxxx/dummy.git +refs/heads/develop:refs/remotes/origin/develop" returned status code 128: stdout: stderr: fatal: unable to access 'https://bitbucket.org/xxxx/dummy.git/': Failed to connect to bitbucket.org port 443: Connection timed out at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2372) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1985) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$500(CliGitAPIImpl.java:80) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:563) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:787) at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$GitCommandMasterToSlaveCallable.call(RemoteGitImpl.java:161) at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$GitCommandMasterToSlaveCallable.call(RemoteGitImpl.java:154)