Skip to content
Snippets Groups Projects
Commit f230025d authored by hahn's avatar hahn
Browse files

task#1726 - add environment before executing hooks

parent f11a4e7d
Branches
No related tags found
No related merge requests found
...@@ -1612,8 +1612,7 @@ class project extends base { ...@@ -1612,8 +1612,7 @@ class project extends base {
; ;
$sHookfile = $this->_aConfig['hooks']['build-postclone']; $sHookfile = $this->_aConfig['hooks']['build-postclone'];
$sReturn.='<h3>' . t('class-project-build-label-execute-hook-postclone') . ' (' . $sHookfile . ')</h3>' $sReturn.='<h3>' . t('class-project-build-label-execute-hook-postclone') . ' (' . $sHookfile . ')</h3>';
. 'env: <pre>'.$sSetEnv.'</pre>';
if (file_exists($sTempDir . '/' . $sHookfile)) { if (file_exists($sTempDir . '/' . $sHookfile)) {
// $sReturn.=$this->_execAndSend('chmod 755 ' . $sTempDir . '/hooks/on*'); // $sReturn.=$this->_execAndSend('chmod 755 ' . $sTempDir . '/hooks/on*');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment