jenkinsci/peass-ci-plugin

Make heapsize configurable for gradle

Closed this issue · 2 comments

What feature do you want to see added?

If you have a test in a gradle-project which needs more than the default heapsize, you should be able to set a parameter configuring heapsize for test-execution.

Upstream changes

No response

After a bunch of changes (latest DaGeRe/peass@64cee5a), this should work in general.
Could you test this, and if it does not work, provide a unit test for the problematic gradle syntax, and if it works, add a configuration option in Peass-CI?

If I set xmx: '1g' for a test which failed with OOM-error before, the test is green. RTS and measurements are successful. So this seems to work. The option for setting this in the pipeline has been made available with commit 2072ef1.