]
Barak Korren reassigned OVIRT-1561:
-----------------------------------
Assignee: Barak Korren (was: infra)
Issue Type: Improvement (was: Task)
Labels: jenkins standard-ci yaml (was: )
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: Improvement
Reporter: Gil Shinar
Assignee: Barak Korren
Labels: jenkins, standard-ci, yaml
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