pass variables from Slack in my python code
Closed this issue · 0 comments
denitiu commented
Hi Matt,
I came upon your python Bot integration to Slack tutorial. I found it very useful and easy to use, however, I have a question regarding the action of passing variables to functions.
I came upon a python-jenkins library that is able do some basic automation steps. Below are some examples. The problem I have is that "empty" is a hard-coded name value.
server.build_job('empty')
server.disable_job('empty')
Are you aware of any way of importing variables from Slack message into my function, e.g. build_job?
Thank you for your time,
Andreea.