e2e-tests: Support optional parent in CreateProject
The name of the parent project [1] can be set using the hereby introduced environment property [2], using the already documented method [3] (below). By default, the parent of the created project remains All-Projects ([1]). [1] https://gerrit-documentation.storage.googleapis.com/Documentation/3.0.12/rest-api-projects.html#project-input [2] -Dcom.google.gerrit.scenarios.parent=parentProjectName [3] https://gerrit-documentation.storage.googleapis.com/Documentation/3.0.12/dev-e2e-tests.html#_environment_properties Change-Id: Iea43946a18ac42bb5533c17d1e839fd99798b185
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
{
|
||||
"create_empty_commit": "true"
|
||||
"create_empty_commit": "true",
|
||||
"parent": "${parent}"
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
[
|
||||
{
|
||||
"url": "HTTP_SCHEME://HOSTNAME:HTTP_PORT/a/projects/PROJECT"
|
||||
"url": "HTTP_SCHEME://HOSTNAME:HTTP_PORT/a/projects/PROJECT",
|
||||
"parent": "PARENT"
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user