Agreed would be handy ... even anything at this point since it's pretty scarce. It does seem slightly counter-intuitive that a Post-build action would be required for something that could send a notification before it even builds ... but, there ya have it.
On 30 March 2015 at 13:23, Hugo M <[email protected]> wrote: > Wow! I didn't know that I should add it as a post-build action. It worked > like a charm. Thanks!! > > Maybe this should be added to "Jenkins Instructions" section of the repo > README? > > > [image: Hugo Massaroli on about.me] > > Hugo Massaroli > about.me/hugo.massaroli > <http://about.me/hugo.massaroli> > > 2015-03-30 14:27 GMT-03:00 Brenton Bartel <[email protected]>: > >> No other dependency as far as I'm aware. Have you added Slack as a >> post-build action and checked off necessary options in the job itself? >> >> >> On 30 March 2015 at 10:13, Hugo M <[email protected]> wrote: >> >>> Another discovery, when I press "Test connection" I see things happening >>> in the jenkins.log. But If I start a job, or if that job fails (job >>> configured with Slack plugin), nothing appears on the log (nothing related >>> with Slack plugin). >>> >>> Does Slack plugin has a dependency on another plugin? It seems that is >>> simply not triggering the post when a job start / fail / etc. >>> >>> >>> [image: Hugo Massaroli on about.me] >>> >>> Hugo Massaroli >>> about.me/hugo.massaroli >>> <http://about.me/hugo.massaroli> >>> >>> 2015-03-30 10:10 GMT-03:00 Hugo M <[email protected]>: >>> >>> Hi Brantone, thanks for your answer. >>>> >>>> Both "Test connection" in job configuration and in Global Settings work >>>> in the sense that a message is posted on Jenkins: "Slack/Jenkins >>>> plugin: you're all set." >>>> >>>> If I put wrong data there I get "Success" too but no message is posted, >>>> and I can see errors in the Jenkins log. >>>> >>>> My problem is that I'm not getting the notifications from the jobs >>>> anyway. >>>> >>>> Maybe this is related with the fact that I'm using a private channel? >>>> But I can see the Jenkins message even if it's a private channel, so it >>>> souldn't be an issue. >>>> >>>> >>>> >>>> >>>> [image: Hugo Massaroli on about.me] >>>> >>>> Hugo Massaroli >>>> about.me/hugo.massaroli >>>> <http://about.me/hugo.massaroli> >>>> >>>> 2015-03-30 4:46 GMT-03:00 Brantone <[email protected]>: >>>> >>>> I'm guessing part of what you're seeing is mentioned here: >>>>> https://github.com/jenkinsci/slack-plugin/issues/51 >>>>> >>>>> Have you verified your configs in the Manage Jenkins > Configure >>>>> System > Global Slack Notifier Settings ? >>>>> >>>>> I've found that that's a better test of configuration and values stick >>>>> better when individual jobs use them. >>>>> >>>>> >>>>> On Thursday, 26 March 2015 11:59:09 UTC-7, Hugo M wrote: >>>>>> >>>>>> Hello, I'm using: https://wiki.jenkins-ci.org/ >>>>>> display/JENKINS/Slack+Plugin >>>>>> >>>>>> Version: 1.7 >>>>>> Jenkins: 1.6 >>>>>> >>>>>> I'm not getting the notifications even if I set all the notifications >>>>>> options in "Advanced options", BUT I'm getting the "Slack/Jenkins >>>>>> plugin: you're all set." message in my Slack channel the first time I >>>>>> configure it. So it's able to connect to Slack, but it doesn't notify >>>>>> when >>>>>> the job starts, ends, etc. >>>>>> >>>>>> Another issue: when I press on "Test Connection" I get success no >>>>>> mather what I put on the configuration (url, channel, etc.). >>>>>> >>>>> -- >>>>> You received this message because you are subscribed to a topic in the >>>>> Google Groups "Jenkins Users" group. >>>>> To unsubscribe from this topic, visit >>>>> https://groups.google.com/d/topic/jenkinsci-users/9rl3I3DAiOg/unsubscribe >>>>> . >>>>> To unsubscribe from this group and all its topics, send an email to >>>>> [email protected]. >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/jenkinsci-users/d31028bb-66e7-4b73-83bc-99c78e06cc9a%40googlegroups.com >>>>> <https://groups.google.com/d/msgid/jenkinsci-users/d31028bb-66e7-4b73-83bc-99c78e06cc9a%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>> . >>>>> >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> >>>> >>> -- >>> You received this message because you are subscribed to a topic in the >>> Google Groups "Jenkins Users" group. >>> To unsubscribe from this topic, visit >>> https://groups.google.com/d/topic/jenkinsci-users/9rl3I3DAiOg/unsubscribe >>> . >>> To unsubscribe from this group and all its topics, send an email to >>> [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/jenkinsci-users/CACDvQTqos_gDVBKwNfx0NLt1pZwxmZ3vjpGLthm%2B-3_h_imL8Q%40mail.gmail.com >>> <https://groups.google.com/d/msgid/jenkinsci-users/CACDvQTqos_gDVBKwNfx0NLt1pZwxmZ3vjpGLthm%2B-3_h_imL8Q%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "Jenkins Users" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/jenkinsci-users/9rl3I3DAiOg/unsubscribe >> . >> To unsubscribe from this group and all its topics, send an email to >> [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-users/CAD4EsfG1AnzC1at5z51eJ%2BG5wAftB453A9JQAKgtQYtdswS2NA%40mail.gmail.com >> <https://groups.google.com/d/msgid/jenkinsci-users/CAD4EsfG1AnzC1at5z51eJ%2BG5wAftB453A9JQAKgtQYtdswS2NA%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Jenkins Users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/jenkinsci-users/9rl3I3DAiOg/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/CACDvQToORj0X3iPc4dMDiyLhFmpdqgdm5Y72ppTEwftW2MFQcA%40mail.gmail.com > <https://groups.google.com/d/msgid/jenkinsci-users/CACDvQToORj0X3iPc4dMDiyLhFmpdqgdm5Y72ppTEwftW2MFQcA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAD4EsfFaE%2BEpavNz%2BXq2pVm48dXL0ikDZGFEYBpQXZA0TcuspQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
