Plugin idea. Using quotations in Jira comments

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Plugin idea. Using quotations in Jira comments

Константин Валерьевич
Hi!

I have an idea to create plugin to put quatations to comments what Jenkins adds in Jira tasks after build complete. There isn't such plugin in Jenkins repo.

Basic features i want to add:
  • Create new build step what will extcract quote to jenkins variable. I will use it further on Jira steps.
  • Step configuration should allow:
    • to select a csv file (language;quatation;author)
    • enter a language what will exctracted from file
    • enter probability value of quatation extraction.
  • Optionally i want to add opportunity to use quatations from www.brainyquote.com or similar (with reusing some code from daily-quote plugin).

What do you think about this idea? That can you advise for newbie in plugin development?

Best regard,
Konstantin.

--
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/4fe8aaad-2b66-4272-91d5-2196c5ffac33%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Plugin idea. Using quotations in Jira comments

Daniel Beck

> On 22. Dec 2017, at 07:12, Константин Валерьевич <[hidden email]> wrote:
>
> plugin to put quatations to comments what Jenkins adds in Jira tasks after build complete

Is this intended as a joke plugin (like Beer Plugin we have on ci.jenkins.io, or the Daily Quote you mentioned), or something you expect to be used productively? It's not quite clear to me -- Jenkins posting messages to Jira based for example on build result seems reasonable for the latter, but the rest of your email points to the former.

--
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/AC558A4C-F781-42A3-A230-550B06AAC4C5%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Plugin idea. Using quotations in Jira comments

Константин Валерьевич
I want to use it productively. In our team results of build and code quality checks is posted in Jira comment on development task. I want to add to this comment citations on IT themes to motivate developers for quality improvements.


On Friday, December 22, 2017 at 6:10:29 PM UTC+5, Daniel Beck wrote:

> On 22. Dec 2017, at 07:12, Константин Валерьевич <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="u7qOPbCcDQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">k.en...@...> wrote:
>
> plugin to put quatations to comments what Jenkins adds in Jira tasks after build complete

Is this intended as a joke plugin (like Beer Plugin we have on <a href="http://ci.jenkins.io" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fci.jenkins.io\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFOz7dbDkaa430NrqJYgXhfPnQC2Q&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fci.jenkins.io\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFOz7dbDkaa430NrqJYgXhfPnQC2Q&#39;;return true;">ci.jenkins.io, or the Daily Quote you mentioned), or something you expect to be used productively? It's not quite clear to me -- Jenkins posting messages to Jira based for example on build result seems reasonable for the latter, but the rest of your email points to the former.

--
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/c61b0bc4-a809-4416-92a9-6aff3167559c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Plugin idea. Using quotations in Jira comments

Константин Валерьевич
In reply to this post by Константин Валерьевич
I'va started development with hello world plugin. Now i have some questions:
  • where can i find a sample of  file selector for buildstep configuration? As far i understood, i need to add it into jelly configuration file. (I want to use standart file open dialog to select file)
  • how should i work with Jenkins variable from Java code? 

On Friday, December 22, 2017 at 5:59:22 PM UTC+5, Konstantin wrote:
I have an idea to create plugin to put quatations to comments what Jenkins adds in Jira tasks after build complete. There isn't such plugin in Jenkins repo.

--
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/3803a499-1e84-4caa-910b-7bff711644d0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.