aqa-tests
aqa-tests copied to clipboard
update terminateJavaProcesses logic
Currently, terminateJavaProcesses only lists the leftover java process, but it does not terminate them. https://github.com/adoptium/aqa-tests/blob/547755debc99d5a0c3fd409f232001e94f36d976/buildenv/jenkins/JenkinsfileBase#L844
In order to make sure the machine is in a clean state, we should update the logic terminate the leftover java process.
Related: https://github.com/adoptium/infrastructure/issues/2251#issuecomment-1163437677