Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-43244

slackSend does not work with jenkins pipelines

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Test connection passes well but using sendSlack step in pipelines gives following lines in pipeline logs:
      run slackstepsend, step null:false, desc <secret token>:true
      Slack Send Pipeline step configured values from global config - baseUrl: true, teamDomain: true, token: true, channel: true, color: true
      Jenkins log stays thay way:

      Mar 30, 2017 9:54:04 PM jenkins.branch.MultiBranchProject$BranchIndexing run
      INFO: bsw_ui_per_branch #20170330.215400 branch indexing action completed: SUCCESS in 4.4 sec
      Mar 30, 2017 10:00:48 PM jenkins.plugins.slack.StandardSlackService publish
      INFO: Posting succeeded
      Mar 30, 2017 10:00:52 PM jenkins.plugins.slack.StandardSlackService publish
      INFO: Posting succeeded
      Mar 30, 2017 10:00:54 PM org.jenkinsci.plugins.workflow.job.WorkflowRun finish
      INFO: bswui-vnc-ping-test #39 completed: SUCCESS

      But slack bot remains silent :[

        Attachments

          Activity

          Hide
          daniel1zhang daniel zhang added a comment - - edited

          Hi, Is there any updates for this issue? And my Jenkins version is  v2.46.2

          Show
          daniel1zhang daniel zhang added a comment - - edited Hi, Is there any updates for this issue? And my Jenkins version is  v2.46.2
          Hide
          nickolasfox Nickolas Fox added a comment -

          Hi daniel zhang, haven't test it yet however I've heard that it started working since one or another version of jenkins.

          Show
          nickolasfox Nickolas Fox added a comment - Hi daniel zhang , haven't test it yet however I've heard that it started working since one or another version of jenkins.
          Hide
          daniel1zhang daniel zhang added a comment - - edited

          Hi Nickolas Fox, I can receive the message from Jenkins now. Every channel need one token and  I used other channel's token before.

          But it still report error message from Jenkins console output

          run slackstepsend, step null:false, desc, false
          Slack Send Pipeline step configured values from global config - baseUrl: true, teamDomain: false, token: false, channel: false, color: false

          And one more, I don't configure the Global Slack Notifier Settings.

          Show
          daniel1zhang daniel zhang added a comment - - edited Hi Nickolas Fox , I can receive the message from Jenkins now. Every channel need one token and  I used other channel's token before. But it still report error message from Jenkins console output run slackstepsend, step null:false, desc, false Slack Send Pipeline step configured values from global config - baseUrl: true, teamDomain: false, token: false, channel: false, color: false And one more, I don't configure the Global Slack Notifier Settings.
          Hide
          timja Tim Jacomb added a comment -

          This functionality definitely works, open a new issue if you're still have problems on the latest plugin and jenkins version

          Show
          timja Tim Jacomb added a comment - This functionality definitely works, open a new issue if you're still have problems on the latest plugin and jenkins version
          Hide
          nickolasfox Nickolas Fox added a comment -

          Confirming, works to me well. Thanks a lot.

          Show
          nickolasfox Nickolas Fox added a comment - Confirming, works to me well. Thanks a lot.

            People

            Assignee:
            kmadel Kurt Madel
            Reporter:
            nickolasfox Nickolas Fox
            Votes:
            3 Vote for this issue
            Watchers:
            8 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: