Re: pipelines and IRC

2016-01-28 Thread Erwan de Ferrières
Hi,

thanks for your answers, I will deal with the commad line solution which 
seems suffisant for the usage I have.

Regards,

Le lundi 25 janvier 2016 12:06:55 UTC+1, Erwan de Ferrières a écrit :
>
> hi,
>
> I'm using the IRC plugin (
> https://wiki.jenkins-ci.org/display/JENKINS/IRC+Plugin) on our jenkins 
> instance.
> Does someone already integrated the plugin with pipelines ? And if not, 
> what would be the best way to do it ?
>
> I'd like to have the same integration as before when using a free-style 
> project and sending notfiications on our IRC channel.
>
> Best regards,
>
> Erwan
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/05c5-d086-4d01-8e2e-69d5d1bf8c06%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: pipelines and IRC

2016-01-26 Thread Michael Neale
If it is too much trouble for the irc plugin, IRC is pretty simple. 

Here is an example that I know works with freenode: 

https://gist.github.com/michaelneale/9a7fb436223a765d1775

(this could be put in a function or a global library DSL if you are using 
it a lot). 

(uses nc only). If nick has a login you can set the password and add in the 
auth line that is commented out. 

Hope that helps. 


On Tuesday, January 26, 2016 at 1:45:07 PM UTC+11, Craig Rodrigues wrote:
>
> On Mon, Jan 25, 2016 at 5:50 PM, R. Tyler Croy  > wrote:
>
>>
>>
>> IRC is actually a very simple protocol, so you may be able to modify this
>> example:
>> <
>> https://github.com/jenkinsci/workflow-examples/blob/master/pipeline-examples/slacknotify/slackNotify.groovy
>> >
>> for now and just use netcat to send messages to IRC.
>>
>>
> The example you gave uses HTTP web hooks exposed by Slack.
> That example isn't useful at all for IRC.
>
> It would be better to modify the Jenkins IRC plugin to by 
> pipeline/workflow compatible.
>
> --
> Craig
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/be0961cf-f329-40fe-ac64-17f2aa770f32%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: pipelines and IRC

2016-01-25 Thread Craig Rodrigues
On Mon, Jan 25, 2016 at 5:50 PM, R. Tyler Croy  wrote:

>
>
> IRC is actually a very simple protocol, so you may be able to modify this
> example:
> <
> https://github.com/jenkinsci/workflow-examples/blob/master/pipeline-examples/slacknotify/slackNotify.groovy
> >
> for now and just use netcat to send messages to IRC.
>
>
The example you gave uses HTTP web hooks exposed by Slack.
That example isn't useful at all for IRC.

It would be better to modify the Jenkins IRC plugin to by pipeline/workflow
compatible.

--
Craig

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAG%3DrPVdyQi7nSkEOowsELz3fQNJKytiwUSyDE%2BTSOjQy5hdDCA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: pipelines and IRC

2016-01-25 Thread R. Tyler Croy
(replies inline)

On Mon, 25 Jan 2016, Craig Rodrigues wrote:

> Hi,
> 
> This plugin does not seem to be integrated with pipeline.
> There are some notes as to how to make an existing plugin integrate with
> pipeline:
> 
> https://github.com/jenkinsci/workflow-plugin/blob/master/COMPATIBILITY.md#plugin-developer-guide
> and this video:
> https://jenkins-ci.org/blog/2014/07/08/workflow-plugin-tutorial-writing-a-step-impl/
> 
> That would be the best place to start.


IRC is actually a very simple protocol, so you may be able to modify this
example:

for now and just use netcat to send messages to IRC.


not ideal, I know, but is a workaround you can use right now.




> On Mon, Jan 25, 2016 at 3:06 AM, Erwan de Ferrières <
> erwan.de-ferrie...@whaller.com> wrote:
> 
> > hi,
> >
> > I'm using the IRC plugin (
> > https://wiki.jenkins-ci.org/display/JENKINS/IRC+Plugin) on our jenkins
> > instance.
> > Does someone already integrated the plugin with pipelines ? And if not,
> > what would be the best way to do it ?
> >
> > I'd like to have the same integration as before when using a free-style
> > project and sending notfiications on our IRC channel.
> >
> > Best regards,
> >
> > Erwan
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Jenkins Users" group.
> > To unsubscribe from this group and stop receiving emails from it, send an
> > email to jenkinsci-users+unsubscr...@googlegroups.com.
> > To view this discussion on the web visit
> > https://groups.google.com/d/msgid/jenkinsci-users/def9bff5-35aa-4d0c-93e2-6796eb6559a7%40googlegroups.com
> > 
> > .
> > For more options, visit https://groups.google.com/d/optout.
> >
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-users/CAG%3DrPVc7-C3ajCseHcSjLiBbg7aBZ9ckOGtMpbf5BTb64WwLuw%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.

- R. Tyler Croy

--
 Code: 
  Chatter: 

  % gpg --keyserver keys.gnupg.net --recv-key 3F51E16F
--

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/20160126015028.GF2891%40blackberry.coupleofllamas.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: Digital signature


Re: pipelines and IRC

2016-01-25 Thread Craig Rodrigues
Hi,

This plugin does not seem to be integrated with pipeline.
There are some notes as to how to make an existing plugin integrate with
pipeline:

https://github.com/jenkinsci/workflow-plugin/blob/master/COMPATIBILITY.md#plugin-developer-guide
and this video:
https://jenkins-ci.org/blog/2014/07/08/workflow-plugin-tutorial-writing-a-step-impl/

That would be the best place to start.
--
Craig


On Mon, Jan 25, 2016 at 3:06 AM, Erwan de Ferrières <
erwan.de-ferrie...@whaller.com> wrote:

> hi,
>
> I'm using the IRC plugin (
> https://wiki.jenkins-ci.org/display/JENKINS/IRC+Plugin) on our jenkins
> instance.
> Does someone already integrated the plugin with pipelines ? And if not,
> what would be the best way to do it ?
>
> I'd like to have the same integration as before when using a free-style
> project and sending notfiications on our IRC channel.
>
> Best regards,
>
> Erwan
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/def9bff5-35aa-4d0c-93e2-6796eb6559a7%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAG%3DrPVc7-C3ajCseHcSjLiBbg7aBZ9ckOGtMpbf5BTb64WwLuw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.