jenkinsci / peass-ci-plugin

Jenkins plugin for peass to support performance measurement in CI
https://plugins.jenkins.io/peass-ci/
GNU Affero General Public License v3.0
4 stars 13 forks source link

Make heapsize configurable for gradle #198

Closed mawHBT closed 1 year ago

mawHBT commented 1 year ago

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

DaGeRe commented 1 year ago

After a bunch of changes (latest https://github.com/DaGeRe/peass/commit/64cee5a239257d479203dbf20cb3770f5052c57d), 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?

mawHBT commented 1 year ago

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.