title: How to create methods in Jenkins Declarative pipeline?
body: <p>In Jenkins scripted pipeline we are able to create methods and can call them.</p>
  
  <p>Is it possible also in the Jenkins declarative pipeline? And how?</p>