[Question]: Where can I find guidelines for contributing on JUnit Plugin?

classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

[Question]: Where can I find guidelines for contributing on JUnit Plugin?

Sanjeet Malhotra
Hi,
I wanted to contribute to JUnit Plugin by making more trends in addition to one being currently displayed right now. I was planning to make trends like one for test flappers, number of tests taking longer time based on various metrics, etc. I just wanted to know where I can find guidelines for contributing to JUnit Plugin and any advice is most welcomed. TIA.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/1b28519d-82af-49a8-a60d-d63e5385b4ef%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: [Question]: Where can I find guidelines for contributing on JUnit Plugin?

Mark Waite-2
Great to have you interested in helping!

https://plugins.jenkins.io/junit/ shows that the plugin is at https://github.com/jenkinsci/junit-plugin .

I didn't see any specific contributing guidelines in the plugin.  I assume it is similar to most plugins.  Discuss your idea here, refine it, provide an implementation as a pull request, discuss the implementation in the pull request.

Javadoc for the plugin is located at https://javadoc.jenkins-ci.org/plugin/junit/ .  You may want to consider creating the added functionality as a separate plugin so that users can choose to install the new capabilities with an independent plugin, rather than upgrading the junit plugin.

Mark Waite

On Monday, June 1, 2020 at 1:06:54 PM UTC-6, Sanjeet Malhotra wrote:
Hi,
I wanted to contribute to JUnit Plugin by making more trends in addition to one being currently displayed right now. I was planning to make trends like one for test flappers, number of tests taking longer time based on various metrics, etc. I just wanted to know where I can find guidelines for contributing to JUnit Plugin and any advice is most welcomed. TIA.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/f1e4ebd7-f9ed-4d06-81e2-c29c7dea6487%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: [Question]: Where can I find guidelines for contributing on JUnit Plugin?

Sanjeet Malhotra
Thanks a lot for guiding. I will surely discuss my ideas after looking at the resources you mentioned.

On Tuesday, June 2, 2020 at 1:49:04 AM UTC+5:30, Mark Waite wrote:
Great to have you interested in helping!

<a href="https://plugins.jenkins.io/junit/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fplugins.jenkins.io%2Fjunit%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHRRaEDc6vofNNu1jwoaviYL6XsRA&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fplugins.jenkins.io%2Fjunit%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHRRaEDc6vofNNu1jwoaviYL6XsRA&#39;;return true;">https://plugins.jenkins.io/junit/ shows that the plugin is at <a href="https://github.com/jenkinsci/junit-plugin" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fjenkinsci%2Fjunit-plugin\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF-S703wFO8FHvYHr00VnfuqnUWeg&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fjenkinsci%2Fjunit-plugin\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF-S703wFO8FHvYHr00VnfuqnUWeg&#39;;return true;">https://github.com/jenkinsci/junit-plugin .

I didn't see any specific contributing guidelines in the plugin.  I assume it is similar to most plugins.  Discuss your idea here, refine it, provide an implementation as a pull request, discuss the implementation in the pull request.

Javadoc for the plugin is located at <a href="https://javadoc.jenkins-ci.org/plugin/junit/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fjavadoc.jenkins-ci.org%2Fplugin%2Fjunit%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGAGIWsE-SjpR5tu1KpsDf5OBAXyQ&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fjavadoc.jenkins-ci.org%2Fplugin%2Fjunit%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGAGIWsE-SjpR5tu1KpsDf5OBAXyQ&#39;;return true;">https://javadoc.jenkins-ci.org/plugin/junit/ .  You may want to consider creating the added functionality as a separate plugin so that users can choose to install the new capabilities with an independent plugin, rather than upgrading the junit plugin.

Mark Waite

On Monday, June 1, 2020 at 1:06:54 PM UTC-6, Sanjeet Malhotra wrote:
Hi,
I wanted to contribute to JUnit Plugin by making more trends in addition to one being currently displayed right now. I was planning to make trends like one for test flappers, number of tests taking longer time based on various metrics, etc. I just wanted to know where I can find guidelines for contributing to JUnit Plugin and any advice is most welcomed. TIA.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/cc7824ba-5700-4f17-81dd-2b38b4e878bd%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: [Question]: Where can I find guidelines for contributing on JUnit Plugin?

Sanjeet Malhotra
In reply to this post by Sanjeet Malhotra
Is there any particular scheme being followed for caching or is there any technique being used for better memory management. Like I was going through the code and saw the usage of weak references. As far as I know, they are used for better memory management by allowing garbage collector to collect the object but if not collected then reusing the object. It seems to me that for making various trends I will need to used HashMap or TreeMap for better time complexity but I was thinking whether this will create an issue with memory complexity. TIA.

On Tuesday, June 2, 2020 at 12:36:54 AM UTC+5:30, Sanjeet Malhotra wrote:
Hi,
I wanted to contribute to JUnit Plugin by making more trends in addition to one being currently displayed right now. I was planning to make trends like one for test flappers, number of tests taking longer time based on various metrics, etc. I just wanted to know where I can find guidelines for contributing to JUnit Plugin and any advice is most welcomed. TIA.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/76493712-8612-497e-8f75-4aaaccc76478%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: [Question]: Where can I find guidelines for contributing on JUnit Plugin?

Jesse Glick-4
The more important consideration by far is to avoid triggering loading
of build records. Since Jenkins does not use a database, test results
for a given build can only be obtained when the whole build (`Run`) is
in memory. This is a large object, and to load it requires reading and
parsing a `build.xml` file, which is relatively expensive. By default
a `SoftReference` is used to hold a (completed) build record, so that
when heap is running short some will be evicted. Thus any
frequently-accessed GUI page which attempts to reference historical
builds, if not written carefully, could wind up repeatedly forcing
build reloading on a loaded server.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr0GUXPA_C8CZZd6e%3DX0Nhbe9GXqJ_MfMPtyGiWgOMO9bQ%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: [Question]: Where can I find guidelines for contributing on JUnit Plugin?

Sanjeet Malhotra
In reply to this post by Sanjeet Malhotra
Thanks a lot. Will keep that in mind and will avoid reloading of build records.

On Tuesday, June 2, 2020 at 12:36:54 AM UTC+5:30, Sanjeet Malhotra wrote:
Hi,
I wanted to contribute to JUnit Plugin by making more trends in addition to one being currently displayed right now. I was planning to make trends like one for test flappers, number of tests taking longer time based on various metrics, etc. I just wanted to know where I can find guidelines for contributing to JUnit Plugin and any advice is most welcomed. TIA.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/3db192ac-14ab-4bc1-a2c2-70f340b936f4%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: [Question]: Where can I find guidelines for contributing on JUnit Plugin?

Sanjeet Malhotra
In reply to this post by Sanjeet Malhotra
I am bit stuck at understanding jelly files. Is there any official documentation for it? I looked at Apache jelly website but there also, majority of tags were not explained as how to use them. I new to jelly scripts and so having difficulty understanding them. TIA for any advice.

On Tuesday, June 2, 2020 at 12:36:54 AM UTC+5:30, Sanjeet Malhotra wrote:
Hi,
I wanted to contribute to JUnit Plugin by making more trends in addition to one being currently displayed right now. I was planning to make trends like one for test flappers, number of tests taking longer time based on various metrics, etc. I just wanted to know where I can find guidelines for contributing to JUnit Plugin and any advice is most welcomed. TIA.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/25df337a-db78-4a8d-afb6-cad3ee1bec2a%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: [Question]: Where can I find guidelines for contributing on JUnit Plugin?

Jesse Glick-4
On Tue, Jun 2, 2020 at 11:22 AM Sanjeet Malhotra
<[hidden email]> wrote:
> I am bit stuck at understanding jelly files. Is there any official documentation for it?

https://www.jenkins.io/doc/developer

generally. The site seems to be down at the moment (!), but I can find

https://github.com/jenkins-infra/jenkins.io/blob/master/content/doc/developer/architecture/web.adoc#views

linking to

https://github.com/jenkins-infra/jenkins.io/tree/master/content/doc/developer/handling-requests

which is not too helpful.

https://github.com/jenkins-infra/jenkins.io/blob/master/content/doc/developer/forms/jelly-form-controls.adoc

is specific to configuration forms, not applicable in this context.
The most relevant content is from the old wiki and would need to be
cleaned up, vetted, and moved to the official site:

https://wiki.jenkins.io/display/JENKINS/Basic+guide+to+Jelly+usage+in+Jenkins

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr31g59Uwzf8v_oEPV9FEyOe0gA5QGzvkse0PpQu2_D5nA%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: [Question]: Where can I find guidelines for contributing on JUnit Plugin?

Sanjeet Malhotra
Thanks a lot.

On Tuesday, June 2, 2020 at 9:46:28 PM UTC+5:30, Jesse Glick wrote:
On Tue, Jun 2, 2020 at 11:22 AM Sanjeet Malhotra
<<a href="javascript:" target="_blank" gdf-obfuscated-mailto="Io9jRd3iAwAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">thesanjee...@...> wrote:
> I am bit stuck at understanding jelly files. Is there any official documentation for it?

<a href="https://www.jenkins.io/doc/developer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.jenkins.io%2Fdoc%2Fdeveloper\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHQmHDYsFhVvBkIBJqj-1zrhRhVsA&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.jenkins.io%2Fdoc%2Fdeveloper\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHQmHDYsFhVvBkIBJqj-1zrhRhVsA&#39;;return true;">https://www.jenkins.io/doc/developer

generally. The site seems to be down at the moment (!), but I can find

<a href="https://github.com/jenkins-infra/jenkins.io/blob/master/content/doc/developer/architecture/web.adoc#views" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fjenkins-infra%2Fjenkins.io%2Fblob%2Fmaster%2Fcontent%2Fdoc%2Fdeveloper%2Farchitecture%2Fweb.adoc%23views\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFjhmaW8G1dgQJl-YeSwUC6eB6yA&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fjenkins-infra%2Fjenkins.io%2Fblob%2Fmaster%2Fcontent%2Fdoc%2Fdeveloper%2Farchitecture%2Fweb.adoc%23views\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFjhmaW8G1dgQJl-YeSwUC6eB6yA&#39;;return true;">https://github.com/jenkins-infra/jenkins.io/blob/master/content/doc/developer/architecture/web.adoc#views

linking to

<a href="https://github.com/jenkins-infra/jenkins.io/tree/master/content/doc/developer/handling-requests" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fjenkins-infra%2Fjenkins.io%2Ftree%2Fmaster%2Fcontent%2Fdoc%2Fdeveloper%2Fhandling-requests\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGGgBpPJTifjlKm2vu1uUVdSIWbuQ&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fjenkins-infra%2Fjenkins.io%2Ftree%2Fmaster%2Fcontent%2Fdoc%2Fdeveloper%2Fhandling-requests\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGGgBpPJTifjlKm2vu1uUVdSIWbuQ&#39;;return true;">https://github.com/jenkins-infra/jenkins.io/tree/master/content/doc/developer/handling-requests

which is not too helpful.

<a href="https://github.com/jenkins-infra/jenkins.io/blob/master/content/doc/developer/forms/jelly-form-controls.adoc" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fjenkins-infra%2Fjenkins.io%2Fblob%2Fmaster%2Fcontent%2Fdoc%2Fdeveloper%2Fforms%2Fjelly-form-controls.adoc\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHxEiohsAR-AfTs4EwClbtDR_e80g&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fjenkins-infra%2Fjenkins.io%2Fblob%2Fmaster%2Fcontent%2Fdoc%2Fdeveloper%2Fforms%2Fjelly-form-controls.adoc\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHxEiohsAR-AfTs4EwClbtDR_e80g&#39;;return true;">https://github.com/jenkins-infra/jenkins.io/blob/master/content/doc/developer/forms/jelly-form-controls.adoc

is specific to configuration forms, not applicable in this context.
The most relevant content is from the old wiki and would need to be
cleaned up, vetted, and moved to the official site:

<a href="https://wiki.jenkins.io/display/JENKINS/Basic+guide+to+Jelly+usage+in+Jenkins" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwiki.jenkins.io%2Fdisplay%2FJENKINS%2FBasic%2Bguide%2Bto%2BJelly%2Busage%2Bin%2BJenkins\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEOwnVIdHRgXZZXVlYGVjS13bpwGA&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwiki.jenkins.io%2Fdisplay%2FJENKINS%2FBasic%2Bguide%2Bto%2BJelly%2Busage%2Bin%2BJenkins\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEOwnVIdHRgXZZXVlYGVjS13bpwGA&#39;;return true;">https://wiki.jenkins.io/display/JENKINS/Basic+guide+to+Jelly+usage+in+Jenkins

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/f2ab07e8-8061-4af2-9304-a3916f3573ec%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: [Question]: Where can I find guidelines for contributing on JUnit Plugin?

Ulli Hafner
And before writing a lot of new trends using the old PNG server side rendering you should think about using the new approach using ECharts. 


Am 02.06.2020 um 19:08 schrieb Sanjeet Malhotra <[hidden email]>:

Thanks a lot.

On Tuesday, June 2, 2020 at 9:46:28 PM UTC+5:30, Jesse Glick wrote:
On Tue, Jun 2, 2020 at 11:22 AM Sanjeet Malhotra
<[hidden email]> wrote:
> I am bit stuck at understanding jelly files. Is there any official documentation for it?

https://www.jenkins.io/doc/developer

generally. The site seems to be down at the moment (!), but I can find

https://github.com/jenkins-infra/jenkins.io/blob/master/content/doc/developer/architecture/web.adoc#views

linking to

https://github.com/jenkins-infra/jenkins.io/tree/master/content/doc/developer/handling-requests

which is not too helpful.

https://github.com/jenkins-infra/jenkins.io/blob/master/content/doc/developer/forms/jelly-form-controls.adoc

is specific to configuration forms, not applicable in this context.
The most relevant content is from the old wiki and would need to be
cleaned up, vetted, and moved to the official site:

https://wiki.jenkins.io/display/JENKINS/Basic+guide+to+Jelly+usage+in+Jenkins

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/f2ab07e8-8061-4af2-9304-a3916f3573ec%40googlegroups.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/6487FFC5-FC87-4078-80C6-BF08AC37B055%40gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: [Question]: Where can I find guidelines for contributing on JUnit Plugin?

Sanjeet Malhotra
Thanks I will look into and I was thinking of a way to have more customizable charts. Thanks for suggesting this.

On Tuesday, June 2, 2020 at 11:56:56 PM UTC+5:30, Ullrich Hafner wrote:
And before writing a lot of new trends using the old PNG server side rendering you should think about using the new approach using ECharts. 
(See <a href="https://github.com/jenkinsci/echarts-api-plugin" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fjenkinsci%2Fecharts-api-plugin\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFf2krfGmXCNvwO_7gVfi6Rd3qw1g&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fjenkinsci%2Fecharts-api-plugin\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFf2krfGmXCNvwO_7gVfi6Rd3qw1g&#39;;return true;">https://github.com/jenkinsci/echarts-api-plugin for details)


Am 02.06.2020 um 19:08 schrieb Sanjeet Malhotra <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="0H605vvpAwAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">thesanjee...@...>:

Thanks a lot.

On Tuesday, June 2, 2020 at 9:46:28 PM UTC+5:30, Jesse Glick wrote:
On Tue, Jun 2, 2020 at 11:22 AM Sanjeet Malhotra
<[hidden email]> wrote:
> I am bit stuck at understanding jelly files. Is there any official documentation for it?

<a href="https://www.jenkins.io/doc/developer" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.jenkins.io%2Fdoc%2Fdeveloper\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHQmHDYsFhVvBkIBJqj-1zrhRhVsA&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.jenkins.io%2Fdoc%2Fdeveloper\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHQmHDYsFhVvBkIBJqj-1zrhRhVsA&#39;;return true;">https://www.jenkins.io/doc/developer

generally. The site seems to be down at the moment (!), but I can find

<a href="https://github.com/jenkins-infra/jenkins.io/blob/master/content/doc/developer/architecture/web.adoc#views" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fjenkins-infra%2Fjenkins.io%2Fblob%2Fmaster%2Fcontent%2Fdoc%2Fdeveloper%2Farchitecture%2Fweb.adoc%23views\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFjhmaW8G1dgQJl-YeSwUC6eB6yA&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fjenkins-infra%2Fjenkins.io%2Fblob%2Fmaster%2Fcontent%2Fdoc%2Fdeveloper%2Farchitecture%2Fweb.adoc%23views\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGFjhmaW8G1dgQJl-YeSwUC6eB6yA&#39;;return true;">https://github.com/jenkins-infra/jenkins.io/blob/master/content/doc/developer/architecture/web.adoc#views

linking to

<a href="https://github.com/jenkins-infra/jenkins.io/tree/master/content/doc/developer/handling-requests" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fjenkins-infra%2Fjenkins.io%2Ftree%2Fmaster%2Fcontent%2Fdoc%2Fdeveloper%2Fhandling-requests\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGGgBpPJTifjlKm2vu1uUVdSIWbuQ&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fjenkins-infra%2Fjenkins.io%2Ftree%2Fmaster%2Fcontent%2Fdoc%2Fdeveloper%2Fhandling-requests\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGGgBpPJTifjlKm2vu1uUVdSIWbuQ&#39;;return true;">https://github.com/jenkins-infra/jenkins.io/tree/master/content/doc/developer/handling-requests

which is not too helpful.

<a href="https://github.com/jenkins-infra/jenkins.io/blob/master/content/doc/developer/forms/jelly-form-controls.adoc" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fjenkins-infra%2Fjenkins.io%2Fblob%2Fmaster%2Fcontent%2Fdoc%2Fdeveloper%2Fforms%2Fjelly-form-controls.adoc\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHxEiohsAR-AfTs4EwClbtDR_e80g&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fjenkins-infra%2Fjenkins.io%2Fblob%2Fmaster%2Fcontent%2Fdoc%2Fdeveloper%2Fforms%2Fjelly-form-controls.adoc\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHxEiohsAR-AfTs4EwClbtDR_e80g&#39;;return true;">https://github.com/jenkins-infra/jenkins.io/blob/master/content/doc/developer/forms/jelly-form-controls.adoc

is specific to configuration forms, not applicable in this context.
The most relevant content is from the old wiki and would need to be
cleaned up, vetted, and moved to the official site:

<a href="https://wiki.jenkins.io/display/JENKINS/Basic+guide+to+Jelly+usage+in+Jenkins" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwiki.jenkins.io%2Fdisplay%2FJENKINS%2FBasic%2Bguide%2Bto%2BJelly%2Busage%2Bin%2BJenkins\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEOwnVIdHRgXZZXVlYGVjS13bpwGA&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwiki.jenkins.io%2Fdisplay%2FJENKINS%2FBasic%2Bguide%2Bto%2BJelly%2Busage%2Bin%2BJenkins\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEOwnVIdHRgXZZXVlYGVjS13bpwGA&#39;;return true;">https://wiki.jenkins.io/display/JENKINS/Basic+guide+to+Jelly+usage+in+Jenkins

--
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 <a href="javascript:" target="_blank" gdf-obfuscated-mailto="0H605vvpAwAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">jenkin...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/jenkinsci-dev/f2ab07e8-8061-4af2-9304-a3916f3573ec%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-dev/f2ab07e8-8061-4af2-9304-a3916f3573ec%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-dev/f2ab07e8-8061-4af2-9304-a3916f3573ec%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/jenkinsci-dev/f2ab07e8-8061-4af2-9304-a3916f3573ec%40googlegroups.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/3f28d507-4f82-427f-ba91-9d5d893870a4%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: [Question]: Where can I find guidelines for contributing on JUnit Plugin?

Sanjeet Malhotra
In reply to this post by Sanjeet Malhotra
I have started working upon JUnit plugin and planning on adding new functionalities listed below. Please suggest some advice if any correction is needed or changes are needed.
FYI: I am only using the information provided in junitResult.xml and is not making any xml file of my own having more information.
  • For all the functionalities I have implemented drop down menus along with a submit button on jenkins UI just below the trends.
  • A trend for depicting number testcases which took longer to run based upon exponential weighted average of their duration for previous builds. In fact I have implemented 3 more metrics also for the same purpose namely- max(if a testcase took maximum time to run in this build), prev(if a testcase took more time to run in this build than previous build) and threshold(if a testcase took more time to run than the specified threshold).
  • A trend for depicting number of test flappers(flaky tests) in a particular build based upon the idea that if a test passed in the given build and failed in one of the last 10 builds then it will be marked as "flake".
  • Also, upon hovering over the chart as a tooltip I am working upon displaying some testcase names rather than just count as it can also be visualized from chart itself using range axis/y-axis.
  • I am also working upon displaying trends for each project by selecting the outermost package name in which whole of the project lies, as project name may not be necessarily a substring of package name so this functionality can't directly use project name but project name can derived approximately from package name for that project(if packages are named appropriately).
  • On clicking the submit button on UI we will get the desired trend displayed at the original location where the trend is being displayed as of now.
I had a doubt that the getFailCount(), getPassedCount() which are being called from buildDataset() are synchronized methods, so what all threads will be accessing these methods simultaneously. I was not able to determine this. And if we just synchronize buildDataset method(though it won't be directly accessed by object being private method) will the purpose be not fulfilled? TIA

On Tuesday, June 2, 2020 at 12:36:54 AM UTC+5:30, Sanjeet Malhotra wrote:
Hi,
I wanted to contribute to JUnit Plugin by making more trends in addition to one being currently displayed right now. I was planning to make trends like one for test flappers, number of tests taking longer time based on various metrics, etc. I just wanted to know where I can find guidelines for contributing to JUnit Plugin and any advice is most welcomed. TIA.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/e69f0a23-31cf-4c5c-9522-65fa82a1a56eo%40googlegroups.com.