Skip to content

Instantly share code, notes, and snippets.

@abdrehma
Created March 5, 2020 21:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abdrehma/647b79e14aa03fb0ad32c6c49fde1449 to your computer and use it in GitHub Desktop.
Save abdrehma/647b79e14aa03fb0ad32c6c49fde1449 to your computer and use it in GitHub Desktop.
Use NO_PROXY inside Kubernetes slave pod for internal domains
stage('asdf'){
env.NO_PROXY = env.NO_PROXY + ',' + InetAddress.getByName("kubernetes.default.svc.cluster.local").hostAddress
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment