]
Gil Shinar reassigned OVIRT-1561:
---------------------------------
Assignee: Gil Shinar (was: infra)
Fix SCM and trigger yamls to support project, custom project and
special foldering
----------------------------------------------------------------------------------
Key: OVIRT-1561
URL:
https://ovirt-jira.atlassian.net/browse/OVIRT-1561
Project: oVirt - virtualization made easy
Issue Type: Task
Reporter: Gil Shinar
Assignee: Gil Shinar
In order to support all types of git URLs and project folders, we have decided to do the
following:
1) Git clone dir, ${WORKSPACE}/{dir} will always stays ${WORKSPACE}/{project}
2) git URL will be different when using default macro and custom-repo macro.
for default it'll be: {git-proto}://{git-server}/{project}
for custom-repo it'll be:
{git-proto}://{git-server}/{gerrit_subpath}/{custom_repo}
3) trigger will also have default and custom repo.
for default it'll be {project}
for custom-repo it'll be {custome_repo}
custom_repo can be a project name or project name + path