-
Improvement
-
Resolution: Unresolved
-
Major
-
None
Building occurs in a separate Jenkins workspace for every single Patchset, rather than being done on a Change basis.
There doesn't seem to be any configuration to specify this, but there should be - caching unchanged build artefacts from build to build is an easy way to speed up build times and vastly reduce disk space required on build servers.
- duplicates
-
JENKINS-49897 gerrit-plugin pr branch names are incorrectly name
-
- Open
-
- is related to
-
JENKINS-62816 Group patchsets into a single change
-
- Open
-
The behaviour you see is a consequence of how Gerrit stores patch-sets, which is different from the way GitHub (for example) stores PRs.
Gerrit has a different ref for every patch-set, which results in a different build and workspace. GitHub, instead, uses the same ref (e.g. refs/pull/N/head) and thus has the same workspace.