提交 b9d8f554 编写于 作者: J Jesse Glick

Unclear status of MatrixConfiguration when enableFingerprintsInDependencyGraph mode selected.

上级 42195d83
...@@ -30,7 +30,6 @@ import hudson.FilePath; ...@@ -30,7 +30,6 @@ import hudson.FilePath;
import hudson.FilePath.FileCallable; import hudson.FilePath.FileCallable;
import hudson.Launcher; import hudson.Launcher;
import hudson.Util; import hudson.Util;
import hudson.matrix.MatrixConfiguration;
import hudson.model.AbstractBuild; import hudson.model.AbstractBuild;
import hudson.model.AbstractProject; import hudson.model.AbstractProject;
import hudson.model.Action; import hudson.model.Action;
...@@ -169,7 +168,8 @@ public class Fingerprinter extends Recorder implements Serializable, DependencyD ...@@ -169,7 +168,8 @@ public class Fingerprinter extends Recorder implements Serializable, DependencyD
} }
AbstractProject p = key; AbstractProject p = key;
if (key instanceof MatrixConfiguration) { // TODO is this harmful to call unconditionally, so it would apply also to MavenModule for example?
if (key.getClass().getName().equals("hudson.matrix.MatrixConfiguration")) {
p = key.getRootProject(); p = key.getRootProject();
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册