I am building a CI/CD pipeine using Git Enterprise to S3, then to Jenkins for build and AWS CodeDeploy for deployment. All these steps are managed by AWS CodePipeline. I was able to put codes from Github Enterprise to S3 bucket, however, when build jobs triggered, the zip package not making it over to the Jenkins instance that living in the same VPC. I use AWS Codepipeline plugin on Jenkins and the pipeline works fine when I pull repository directly from the public GitHub. It just doesn't work when I pull the repo from S3 bucket. The user and role I use are setup exactly like what's described in this document https://docs.aws.amazon.com/codepipeline/latest/userguide/tutorials-four-stage-pipeline.html#tutorials-four-stage-pipeline-prerequisites Tried to fix that for the last couple of days but no luck and hoping you can provide some guidence.
The error I am getting showing below: