At the launch of the job Jenkins Pipeline,I get a Java heap space issue as shown in the screen shot here
As u can see in the screen shot , i'm using ansible to connect to windows ( success ) I've done some research and i found that i can fix this error by adding a parameter to dedicate memory to the build process which is possible only in a Freestyle Or Maven Job and i can't use those jobs because i'm adding a jenkins a file to my pipeline job as shown in the screen shot here So How Can I solve this error in a Pipeline Job please ? pipeline job screen shot
Thank u