subicura / hubot-slack-jenkins-chatops

Jenkins integration for hubot with slack interactive message
21 stars 6 forks source link

error: jenkins: job.build: jenkins: crumbIssuer.get: forbidden #1

Open prashanth-sams opened 6 years ago

prashanth-sams commented 6 years ago

I see the following error when I try to use chatbots screen shot 2018-07-18 at 12 33 11 pm

Is that possible to enable crumbIssuer: true as mentioned in https://stackoverflow.com/questions/43399595/jenkins-build-log-is-rejected-with-jenkins-build-log-forbidden

prashanth-sams commented 6 years ago

@subicura also I named the app as chatbots in the newly created chatbot app, but the bot name I created in Hubot slack app is hubot

screen shot 2018-07-18 at 12 03 41 pm

screen shot 2018-07-18 at 12 36 59 pm

  1. Will it create conflicts in such case?

  2. Which name should I provide while execution; and is this a wrong cmd?

HUBOT_SLACK_TOKEN=xoxb-xxxxxxxxxxxxxxxxxx HUBOT_SLACK_VERIFICATION_TOKEN=xxxxxxxxxxxxxx HUBOT_JENKINS_URL=http://localhost:8080/ ./bin/hubot --adapter slack --name "chatops"

varunchandak commented 4 years ago

@prashanth-sams this works with Slack Classic App. Create 1 here: https://api.slack.com/apps?new_classic_app=1