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

remove marker

parent 340b0e51
No related branches found
No related tags found
1 merge request!69OP#7476 CI Server: Branches mit Hash verarbeiten https://projects.iml.unibe.ch/work_packages/7476
......@@ -626,8 +626,7 @@ class vcs implements iVcs
// this does not checkout tags in git v1.7 - only branches:
// $sGitCmd .= 'echo git clone --depth 1 --recursive --branch "' . $sBranchname . '" "' . $this->getUrl() . '" "' . $sWorkDir . '" ; ';
// $sGitCmd .= ' git clone --depth 1 --recursive --branch "' . $sBranchname . '" "' . $this->getUrl() . '" "' . $sWorkDir . '" 2>&1; ';
//
// #7476 test branches with hash
//
$sGitCmd .= 'echo git clone "' . $this->getUrl() . '" "' . $sWorkDir . '" 2>&1 \&\& cd "' . $sWorkDir . '" \&\& git checkout "' . $sBranchname . '" ; ';
$sGitCmd .= ' git clone "' . $this->getUrl() . '" "' . $sWorkDir . '" 2>&1 && cd "' . $sWorkDir . '" && git checkout "' . $sBranchname . '" 2>&1 ';
$this->log(__FUNCTION__ . " start command <code>$sGitCmd</code>");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment