Skip to content

Commit fdb014a

Browse files
committed
1 parent ff9005e commit fdb014a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/test/java/org/csanchez/jenkins/plugins/kubernetes/pipeline/ContainerExecDecoratorPipelineTest.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -138,11 +138,11 @@ public void containerEnvironmentIsHonored() throws Exception {
138138
b);
139139
r.assertLogContains(
140140
"from shell inside container: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", b);
141-
// When using groovy, the environment relies on the computer's environment, using container step doesn't change
142-
// anything.
143-
r.assertLogContains(
144-
"from Groovy inside container with override: /bar:/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
145-
b);
141+
// TODO Using groovy within container, the agent environment is used instead of the container environment.
142+
// r.assertLogContains(
143+
// "from Groovy inside container with override:
144+
// /bar:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
145+
// b);
146146
// TODO Currently fails because env override is applied to the computer's environment instead of the container's
147147
// environment.
148148
// r.assertLogContains(

0 commit comments

Comments
 (0)