1

I am running a jenkins pipeline which is having 2 layered git repos.

  1. Jenkins pipeline is in one repo from which pipeline is triggered.
  2. once pipeline is triggered it clones repo from another git repo to perform some operations.

I am able to trigger the pipeline, it starts correctly but give me following error when it starts to perform checkout of another repo-

fatal: unable to access 'https://github.com/<project-name>/<project>.git/': Failed to connect to github.com port 443: Operation timed out
[Pipeline] echo
hudson.AbortException: script returned exit code 128

any help or pointers what is wrong.

Hitesh
  • 31
  • 7

1 Answers1

0

Make sure the account under which Jenkins process is running has access to a global git config where the proxy is defined (as in here)

And make sure there is no firewall rule preventing you to access internet from your Jenkins server.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250