title: How to set "Last successful build" value for a job through Jenkins API?
body: <p>Regarding the data displayed in the "Permalinks" section of the Job Status page in Jenkins, I know there are methods to get the values. For example ...</p>
  
  <pre><code>jenkins.instance.getItemByFullName("&amp;lt;job&amp;gt;").getLastSuccessfulBuild()
  </code></pre>
  
  <p>However, I can't find any method to change the "Last successful build" value on the screen.<br>
  Editing the symbolic link <code>$HOME/.jenkins/jobs/&amp;lt;job&amp;gt;/builds/lastSuccessfulBuild</code>, then running <code>jenkins.instance.doReload()</code> does not cause the gui screen display to be updated.  </p>
  
  <p>Is there a way to do this through the API?</p>
  
  <p>Thanks.</p>