Greetings,
I have class Publisher, which extends Recorder, which has basicli 2 methods
and 2 fields:
private static final long serialVersionUID = 5245251980789951528L;
private ArrayList<MismatchesContainer> allMismatches;
boolean perform(Build<?, ?> build, Launcher launcher, BuildListener listener
)
MismatchesLoader mismatchesLoader = new MismatchesLoader();
this.allMismatches= mismatchesLoader.getAllMismatches();
PublishingAction publishinAction=new PublishingAction(build.getProject());
publishinAction.addMismatchesList(this.allMismatches);
build.addAction(publishinAction);
return true;
and
public Collection<? extends Action> getProjectActions(
AbstractProject<?, ?> project) {
ArrayList<Action> actions = new ArrayList<Action>();
PublishingAction publishinAction=new PublishingAction(project);
publishinAction.addMismatchesList(this.allMismatches);
actions.add(publishinAction);
return actions;
}
The problem is that: in action view in build-site I see results, but on
Project page my view seems empty!
>From my point of view it seems that my ArrayList does not persist till
being used in getProjectActions)
I'm new in plugin develping, so please explain like for the newbie ;p
--
You received this message because you are subscribed to the Google Groups
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.