Results Email after Jenkins execution

Hello Team,
I am running my gatling tests through Jenkins & all the results HTML/ Zip file is available to be downloaded from Jenkins.
I have also updated the email config so get email long with URL where results can be downloaded from apart from logs.

But I need the results -zip file or direct link of HTML file in the email. As the result directory has “timestamp” in the name I am not able to update Jenkins to pick the path as its dynamic every run.

Have anyone able to find a workaround for the same? I’m running through gradle.

I have tried updating the below config:

  1. “-Dgatling.core.outputDirectoryBaseName=myTest” in jvmArgs

  2. gatling.conf file:
    a) outputDirectoryBaseName
    b) directory/ results

But still have same dynamic timestamp everytime.

Thanks,
-Nalin