I\'m developing my first Jenkins plugin and followed the tutorial at wiki.jenkins-ci.org. After adding a BuildStep and generating the results I now want to publish them to the u
An addition to @dchang comment:
I managed to make this functionality work also on pipelines by extending TransientActionFactory
:
@Extension
public static class PipelineLatestConsoleProjectActionFactory extends TransientActionFactory {
@Override
public Class type() {
return WorkflowJob.class;
}
@Nonnull
@Override
public Collection extends Action> createFor(@Nonnull WorkflowJob job) {
return Collections.singletonList(new LatestConsoleProjectAction(job));
}
}