Is the filter by regular expression not enough? This is built in in Jenkins
and filters which projects are shown in each view. The procedure is the
same as for a normal jenkins view.


On 20 November 2012 04:41, indiws <[email protected]> wrote:

> Thanks Larry for the heads up.
> I found a way to accomplish what i require.
>
> I prefixed the label in the Project Name while creating new jobs. like
> Product_component-1,Product_component-2,
> And in Advanced Project Options -> Display name  I gave Component-1 etc.
> So that in the dashboard 'Display Name' will be used, and also i could
> identify the product from the Project name prefix.
>
> Probably a dirty way, but serves my need.
>
> Thanks,
>
>
>
>
>
> On Monday, November 19, 2012 3:23:17 PM UTC, Larry Shatzer, Jr. wrote:
>
>> I started work on a plugin that would allow you to label jobs to group
>> them together by using the JobProperty [1] extension point. I didn't get
>> too far (nothing usable) before I shelved it due to time and work load. You
>> might want to look into that extension point. I envisioned a way similar to
>> labeling nodes to allow you to label jobs that you could make use of in
>> filters for dashboards, and other uses.
>>
>> [1] https://wiki.jenkins-ci.**org/display/JENKINS/Extension+**
>> points#Extensionpoints-hudson.**model.JobProperty<https://wiki.jenkins-ci.org/display/JENKINS/Extension+points#Extensionpoints-hudson.model.JobProperty>
>>
>> -- Larry
>>
>>
>> On Mon, Nov 19, 2012 at 6:10 AM, indiws <[email protected]**> wrote:
>>
>>> Hi All,
>>>    I am writing a custom portlet derived from Dashboard View. We have
>>> lots of components being built and using the custom portlet I would like to
>>> group them based on the product.Also they should be shown in a single
>>> page,( I dont want to create differents view for components). I am able get
>>> the jobs to be shown in the page.
>>> Is there any way to tag a job so that I could group it in my portlet or
>>> is there any other better way to do that.
>>> Please shed some lights on this.
>>>
>>> Thanks,
>>>
>>
>>


-- 
Marco Ambu
E-mail: [email protected]
LinkedIn profile: <http://www.linkedin.com/in/marcoambu>

Reply via email to