Added interpolation support to Env plugin
This commit is contained in:
parent
0a755cedae
commit
d7c62f3609
|
@ -41,7 +41,7 @@ class Env implements \PHPCI\Plugin
|
|||
$env_var = "$key=$value";
|
||||
}
|
||||
|
||||
if (!putenv($env_var)) {
|
||||
if (!putenv($this->phpci->interpolate($env_var))) {
|
||||
$success = false;
|
||||
$this->phpci->logFailure("Unable to set environment variable");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue