Skip to content
Snippets Groups Projects

project.dir.update

Closed username-removed-41516 requested to merge Cidan/gitlab-ci-runner:project.dir.update into master
+ 2
2
Compare changes
  • Side-by-side
  • Inline
+ 2
2
@@ -165,8 +165,8 @@ module GitlabCi
def clone_cmd
cmd = []
cmd << "cd #{config.builds_dir}"
cmd << "git clone #{@repo_url} project-#{@project_id}"
cmd << "cd project-#{@project_id}"
cmd << "git clone #{@repo_url} #{project_dir}"
cmd << "cd #{project_dir}"
cmd << "git checkout #{@ref}"
cmd.join(" && ")
end
Loading