Skip to content
Snippets Groups Projects
Commit e25ea5e0 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

add variable $ENVINIT for onbuild tasks

parent c5585f4e
Branches
No related tags found
1 merge request!797772 set java and maven
...@@ -1884,6 +1884,7 @@ class project extends base ...@@ -1884,6 +1884,7 @@ class project extends base
. 'export DIR_SSH_KEYS="' . $this->_aConfig['dataDir'] . '/sshkeys"; ' . 'export DIR_SSH_KEYS="' . $this->_aConfig['dataDir'] . '/sshkeys"; '
. 'export DIR_APPROOT="' . $sTempBuildDir . '"; ' . 'export DIR_APPROOT="' . $sTempBuildDir . '"; '
. 'export NVMINIT="' . $this->_aConfig['appRootDir'] . '/shellscripts/nvm_init.sh"; ' . 'export NVMINIT="' . $this->_aConfig['appRootDir'] . '/shellscripts/nvm_init.sh"; '
. 'export ENVINIT="' . $this->_aConfig['appRootDir'] . '/shellscripts/env_init.sh"; '
. (isset($this->_aConfig['build']['env']) ? $this->_aConfig['build']['env'] : ''); . (isset($this->_aConfig['build']['env']) ? $this->_aConfig['build']['env'] : '');
$sHookfile = $this->_aConfig['build']['hooks']['build-postclone']; $sHookfile = $this->_aConfig['build']['hooks']['build-postclone'];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment