Dear Martin, I am the Stage View maintainer -- there's not an extension point for this, but if you want to add one, you'd have to make a new API like this one:
https://github.com/jenkinsci/pipeline-stage-view-plugin/blob/master/rest-api/src/main/java/com/cloudbees/workflow/rest/endpoints/JobAPI.java#L72 and also create a version of this that adds filter conditions: https://github.com/jenkinsci/pipeline-stage-view-plugin/blob/master/rest-api/src/main/java/com/cloudbees/workflow/rest/external/JobExt.java#L121 and then you'd need to surface this somewhere in the UI when making the initially HTTP requests (in the UI plugin) and change the API call it invokes (a variety of places). Regards, Sam On Friday, March 17, 2017 at 2:40:58 AM UTC-4, Martin Holeček wrote: > > Dear all, > > please, which part of the pipeline stage view plugin's sources would be > most suitable for an insertion of a filter? > > What I need to accomplish - I do want to see historical builds that have a > specific parameter equal a specific value for one specific job. > I do not want to filter jobs, like every answer on stackoverflow assumes, > I want to see the nice stageview but filtered... and since there seems to > not be such a functionality, I need to try to create one. Yea, like > filtering the historical builds in the left column, but doing this for the > stageview. > > I was not able to locate such a point in the sources where a filter could > be inserted. > > If You would think, that this solution is not wise, if maybe exporting > the build history and doing select over csv file would serve better, tell > me ;) > > Thank You very much! > Martin > > -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/f64ad6d5-5504-4f1a-a6b1-7c0d9926e2ce%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
