I have Jenkins configured to poll bitbucket periodically and download/build/deploy my app if there have been any changes (git push). It works perfectly when I'm running Jenkins on my Windows PC behind a corporate VPN.
The problem I have is when trying to do the same on a Linux (Ubuntu 16.04.7 LTS) box residing inside the corporate network that has a proxy server configured.
Here's what my Jenkins Plugin Advanced tab looks like:

Here's what my Pipeline SCM looks like:

I've also tried disabling the proxy server by adding these lines to the top of the file at /etc/default/jenkins
unset http_proxy
unset https_proxy
unset HTTP_PROXY
unset HTTPS_PROXY
I restarted Jenkins after making those changes and also removed the jenkins proxy config.
I've also mirrored my repo at gitlab and I get the same errors when Jenkins is configured with gitlab as I do with bitbucket.
Thoughts?