Thank You very much! Dne pátek 17. března 2017 19:06:25 UTC+1 Samuel Van Oort napsal(a): > > 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 > > <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fjenkinsci%2Fpipeline-stage-view-plugin%2Fblob%2Fmaster%2Frest-api%2Fsrc%2Fmain%2Fjava%2Fcom%2Fcloudbees%2Fworkflow%2Frest%2Fendpoints%2FJobAPI.java%23L72&sa=D&sntz=1&usg=AFQjCNFIQI5Yz43qEJhHfk4uSdvqB9Dsrg> > > 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 > > <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fjenkinsci%2Fpipeline-stage-view-plugin%2Fblob%2Fmaster%2Frest-api%2Fsrc%2Fmain%2Fjava%2Fcom%2Fcloudbees%2Fworkflow%2Frest%2Fexternal%2FJobExt.java%23L121&sa=D&sntz=1&usg=AFQjCNHHOnqUUH6e5tRFIPtXpRAVYbBE2w> > > 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/23c1a9a1-a704-4c39-82e5-d185796d810a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
