Skip to content
  • dty's avatar
    [FIX JENKINS-10330] Update project names in fingerprints when projects are renamed. · 8dfa5e19
    dty authored
    - Added a RenameListener to Fingerprint. When the listener is invoked for
      renamed projects, it will iterate over all the builds of the project looking
      for fingerprint actions. If the build was the originator of the fingerprint,
      the buildPtr is updated; (had to make the name non-final to allow for this).
      If the build is the consumer of a fingerprint, the usages are updated.
    
       core/src/main/java/hudson/model/Fingerprint.java
    
    - Expose the fingerprint data inline with the build data in the remote API.
      The renaming code also uses this method as a convenient way to get the
      fingerprints for a build.
    
       core/src/main/java/hudson/model/AbstractBuild.java
    
    - Test.
    
       test/src/test/java/hudson/tasks/FingerprinterTest.java
    8dfa5e19
To find the state of this project's repository at the time of any of these versions, check out the tags.
Loading