title: How to enable remote trigger in jenkins file for a pipeline job?
body: <p><a href="https://i.stack.imgur.com/UyRFj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UyRFj.png" alt="enter image description here" /></a>How to enable the &quot;Trigger builds remotely (e.g., from scripts)&quot; section in a Jenkins file for a pipeline job. Want to achieve the same task of freestyle project in pipeline.</p>