Skip to content
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

Bugfix: Fix regression where environment variables set to USER would be lowercased to user. #857

Merged
merged 2 commits into from
Aug 16, 2024

Conversation

aidanleuck
Copy link
Contributor

@aidanleuck aidanleuck commented Aug 14, 2024

#858 (this will be moved at some point)

Fixes issue with environment variables named USER being set to user due to it being merged with the variable set in the Dockerfile.

Testing done

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira (Waiting for issue to be moved)
  • Link to relevant pull requests, esp. upstream and downstream changes
  • [ N/A ] Ensure you have provided tests - that demonstrates feature works or fixes the issue

@aidanleuck aidanleuck requested a review from a team as a code owner August 14, 2024 19:09
@dduportal dduportal added the bug label Aug 14, 2024
@dduportal
Copy link
Contributor

Closes #858

Copy link
Contributor

@dduportal dduportal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Many thanks! that looks good!

Copy link
Contributor

@dduportal dduportal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aidanleuck you also have to update the test harness: checks are failing due to this

auto-merge was automatically disabled August 14, 2024 19:54

Head branch was pushed to by a user without write access

@aidanleuck
Copy link
Contributor Author

aidanleuck commented Aug 14, 2024

@dduportal Thanks I fixed those tests. It appears it is failing trying to download JDK, looking at past builds it appears this might be an intermittency as opposed to changes in my PR. Do we just need to keep running it again?

Edit: Another PR with a similar flake https://ci.jenkins.io/blue/organizations/jenkins/Packaging%2Fdocker-agent/detail/PR-827/50/pipeline/145

Copy link
Contributor

@dduportal dduportal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@dduportal dduportal merged commit 4ace7e1 into jenkinsci:master Aug 16, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants