-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Updated the network policy to allow the public maven feed access #47632
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR updates the Azure DevOps pipeline configuration to enable access to public Maven repositories during builds by setting the network isolation policy to Preferred. This change is necessary to allow builds to download dependencies from Maven Central and other public package repositories.
Key Changes
- Added
networkIsolationPolicy: Preferredsetting to the 1ES pipeline template configuration - Included explanatory comment with link to Microsoft documentation about network isolation policies
|
@weshaggard the |
The failure says that it couldn't connect to github.com. I wouldn't think that that the "preferred" policy should block being able to clone the repo. |
I was surprised but seems that the |

We're seeing 1es pipeline template blocks the maven feed access in the pipeline runs.
Failed run
Override the network isolation policy to
preferred. See the linked doc for more details.