Add metric gathering parametrs to Jenkins tasks

This commit modifies Jenkins tasks, both standard and dynamic,
to send a new metrics parameter to Jenkins, providing necessary
information for data analysis that could not be collected from Jenkins
itself.