Created
March 5, 2020 21:56
-
-
Save abdrehma/647b79e14aa03fb0ad32c6c49fde1449 to your computer and use it in GitHub Desktop.
Use NO_PROXY inside Kubernetes slave pod for internal domains
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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