mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-18 06:22:29 +00:00
Corrected NPE from Migrator.
This commit is contained in:
1 parent
14a147eda8
commit
ca2b0d6913
1 file changed
+1
-1
@@ -340,7 +340,7 @@ public class ArtifactArchiver extends Recorder {
|
||||
p.save();
|
||||
}
|
||||
Fingerprinter f = p.getPublishersList().get(Fingerprinter.class);
|
||||
if (f.getRecordBuildArtifacts()) {
|
||||
if (f != null && f.getRecordBuildArtifacts()) {
|
||||
f.recordBuildArtifacts = null;
|
||||
if (aa != null) {
|
||||
aa.setFingerprint(true);
|
||||
|
||||
Reference in new issue
Block a user