Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Vlatombe committed Dec 21, 2023
1 parent ff9005e commit fdb014a
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,11 +138,11 @@ public void containerEnvironmentIsHonored() throws Exception {
b);
r.assertLogContains(
"from shell inside container: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", b);
// When using groovy, the environment relies on the computer's environment, using container step doesn't change
// anything.
r.assertLogContains(
"from Groovy inside container with override: /bar:/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
b);
// TODO Using groovy within container, the agent environment is used instead of the container environment.
// r.assertLogContains(
// "from Groovy inside container with override:
// /bar:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
// b);
// TODO Currently fails because env override is applied to the computer's environment instead of the container's
// environment.
// r.assertLogContains(
Expand Down

0 comments on commit fdb014a

Please sign in to comment.