title: What is the most efficient way to create views using Job DSL so that I do not have Job names mentioned in multiple places
body: <p>In my current team, we are creating Job DSL scripts for converting our Jenkins jobs and views into code.
  We have quite a large number of jobs in our Jenkins. While doing this I noticed that we have to specify the job name in 2 places, first in the actual DSL script which have the necessary code for your job and the second one is in the view method to add this job to the respective view.
  One of the drawback in doing this is, in future if I need to change the job name for one of my jobs, I will have to change it in both these places.</p>
  <p>I was wondering if there is a more efficient way to do this..</p>
  <p>In general are there any best practices that I could follow while doing this.</p>