Add export environment variable to shell environment

This commit is contained in:
Stepan Strelets 2017-03-26 10:41:36 +03:00 committed by Dmitry Khomutov
parent 41f025c243
commit bf394131af
No known key found for this signature in database
GPG key ID: 7EB36C9576F9ECB9

View file

@ -67,6 +67,7 @@ class BuildInterpolator
putenv('PHPCI_PROJECT_TITLE=' . $this->interpolation_vars['%PROJECT_TITLE%']);
putenv('PHPCI_BUILD_PATH=' . $this->interpolation_vars['%BUILD_PATH%']);
putenv('PHPCI_BUILD_URI=' . $this->interpolation_vars['%BUILD_URI%']);
putenv('PHPCI_ENVIRONMENT=' . $this->interpolation_vars['%ENVIRONMENT%']);
}
/**