Plugin idea. Using quotations in Jira comments

17 views
Skip to first unread message

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

unread,
Dec 22, 2017, 7:59:22 AM12/22/17
to Jenkins Developers
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.

Daniel Beck

unread,
Dec 22, 2017, 8:10:29 AM12/22/17
to jenkin...@googlegroups.com

> On 22. Dec 2017, at 07:12, Константин Валерьевич <k.en...@gmail.com> 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.

Konstantin

unread,
Dec 25, 2017, 1:22:35 AM12/25/17
to Jenkins Developers
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.

Konstantin

unread,
Dec 25, 2017, 1:32:02 AM12/25/17
to Jenkins Developers
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? 
Reply all
Reply to author
Forward
0 new messages