Conversation
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The HTTP/1.1 workaround is applied broadly (global image config and stage-wide env) and should be scoped to GitHub/network git commands to avoid unintended side effects.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
This PR adds a workaround to mitigate Git authentication failures related to HTTP/2 by forcing Git to use HTTP/1.1 during container builds and in the on-commit CI pipeline.
Changes:
- Configure Git in Ubuntu and Red Hat build Dockerfiles to use HTTP/1.1.
- Configure the Jenkins on-commit pipeline to force Git HTTP/1.1 via injected Git config environment variables.
File summaries
| File | Description |
|---|---|
| Dockerfile.ubuntu | Adds a global Git config to force HTTP/1.1 during image build steps. |
| Dockerfile.redhat | Adds a global Git config to force HTTP/1.1 during image build steps. |
| ci/build_test_OnCommit.groovy | Adds stage-level env vars to force Git http.version=HTTP/1.1 during the Configure stage. |
Review details
- Files reviewed: 3/3 changed files
- Comments generated: 3
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Comment on lines
+51
to
+52
| ## WA for authentication issues with git over HTTP/2 | ||
| RUN git config --global http.version HTTP/1.1 |
Comment on lines
+53
to
+54
| ## WA for authentication issues with git over HTTP/2 | ||
| RUN git config --global http.version HTTP/1.1 |
Comment on lines
+46
to
+50
| environment { | ||
| GIT_CONFIG_COUNT = '1' | ||
| GIT_CONFIG_KEY_0 = 'http.version' | ||
| GIT_CONFIG_VALUE_0 = 'HTTP/1.1' | ||
| } |
rasapala
approved these changes
Sep 7, 2026
atobiszei
approved these changes
Sep 7, 2026
przepeck
approved these changes
Sep 7, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🛠 Summary
based on https://github.com/orgs/community/discussions/206581
🧪 Checklist
``