]
Gil Shinar updated OVIRT-1561:
------------------------------
Epic Link: OVIRT-400
Resolution: Fixed
Fix SCM and trigger yamls to support project and custom project
---------------------------------------------------------------
Key: OVIRT-1561
URL:
https://ovirt-jira.atlassian.net/browse/OVIRT-1561
Project: oVirt - virtualization made easy
Issue Type: Task
Reporter: Gil Shinar
Assignee: infra
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 stay $\{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}/\{gerrit_subpath}\{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