Could not understand where Script comes from in Jenkins

HI @Tej-Singh-Rana

Could you please let me know, why we are using script here. Firstly, I was trying to write the code with the help of documentation but it did not work and when I checked the solution I found that script was used. I tried to find the same in Jenkins Docs but did not find, please help me where script comes from, please share if there is any doc.

Thanks and regards,
Murad Ahmed Rizvi.

Hi @Rizvi-Murad,
Can you please share any screenshots? I don’t understand which lab or question you are talking about.

Regards,