by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Ian Walker
    @tonesfrommars
    I'm successfully triggering the webhook, getting this error on attempted execution of the execute-command. I'm also running the webhook command under the previously mentioned user account.
    Adnan Hajdarević
    @adnanh
    Now that's weird
    could you give us the output of the ls -la /path/to/executable.sh command
    maybe by accident you created the file as root, instead of the given user
    which would result in the file being owned by the root user
    also
    try running the script manually as the given user
    see if it will error on you
    Ian Walker
    @tonesfrommars
    Hey @adnanh: Thanks for replying. I discovered that my command-working-directory value was set to another user’s home folder, so that’s why permission was denied. Haha, pretty obvious in hindsight. Your suggestions led me straight to it, however so thank you. And thanks for webhooks!
    Adnan Hajdarević
    @adnanh
    Awesome! :-)
    @hrqiang try a classical web server like nginx?
    Manjesh V
    @manjeshpv
    bhook] 2017/01/14 16:21:07 os signal watcher ready Jan 14 16:21:16 ubuntu webhooks[14938]: [webhook] 2017/01/14 16:21:16 bitbucket got matched Jan 14 16:21:16 ubuntu webhooks[14938]: [webhook] 2017/01/14 16:21:16 error parsing JSON parameters: couldn't retrieve argument for {Source:payload Name:payload EnvName:} Jan 14 16:21:16 ubuntu webhooks[14938]: [webhook] 2017/01/14 16:21:16 bitbucket got matched, but didn't get triggered because the trigger rules were not satisfied Jan 14 16:21:16 ubuntu webhooks[14938]: [webhook] 2017/01/14 16:21:16 2017-01-14T16:21:16Z | 200 | 260.824762ms | prodeers.com:9999 | POST /hooks/bitbucket Jan 14 16:21:57 ubuntu webhooks[14938]: [webhook] 2017/01/14 16:21:57 bitbucket got matched
    error parsing JSON parameters: couldn't retrieve argument for
    not able to match hooks
    Adnan Hajdarević
    @adnanh
    Could you please provide the example payload that is being sent to the hook
    also
    provide the hook definition you are using
    My first hunch is that you are misusing configuration option, most likely a parse-parameters-as-json?
    Adnan Hajdarević
    @adnanh
    This message was deleted
    @/all I have launched a SaaS version of webhook, if you'd like to check out the BETA, let me know. Find out more at www.hookdoo.com
    Saloni Garg
    @saloni-garg
    Hello people. I am a sophomore girl. Can u help me with a node.js webhook please?
    Saloni Garg
    @saloni-garg
    Anyone plz...help me understand how do I start building one. I have prior knowledge of JavaScript
    Sabarish
    @_sabarish__twitter
    Hi
    if I wanted to pass the parameters to a command, for example, "--debug true" how can I do? Right now the parameters are passed to the command as json/dictionary? how can I make it to the form the command takes without a wrapper script?
    ScrumpyJack
    @ScrumpyJack
    o/
    Adnan Hajdarević
    @adnanh
    \o
    ScrumpyJack
    @ScrumpyJack
    @adnanh interesting concept (hookboo). What's the uptake?
    Also, I see focus on build triggers, but how about other uses? You could easily imagine hookdoo as a gateway between web hooks and other services.
    For example, monitoring provider A doesn't support alerting integration with, say Discord, but does provide a webhook alert. Enter hookboo gateway
    ScrumpyJack
    @ScrumpyJack
    IOT device B doesn't provided event notifications to, say twilio , but does provide and webhook notice scheme. Enter hookboo gateway
    MarcyMarcy
    @ironsalsa
    @adnanh Just popping in to let you know your Webhook tool is fantastic, and really speeds up exposing API endpoints for operational folks like me.
    Adnan Hajdarević
    @adnanh
    @ironsalsa glad you like it :)
    ScrumpyJack
    @ScrumpyJack
    How is hookboo coming on?
    ehab aboudaya
    @ehab2012
    hello all, how to pass remoteAddr to pass-arguments-to-command ? my go skills are 0 and i started to add another hook sourceRemoteAddr but didn't finish. Would appreciate if someone already implemented this if not present. Thanks
    ScrumpyJack
    @ScrumpyJack
    @adnanh how are you getting on with https://hookdoo.com/ does it work yet?
    ZhangWei1208
    @ZhangWei1208
    Hello
    ScrumpyJack
    @ScrumpyJack
    hello
    Tunjidir
    @Tunjidir
    Hi guys please i am trying to setup a webhook for my bitbucket repository, basically a push/merge to the develop branch should trigger a command, somehow the hooks.json file i defined keeps telling me the hook rules were not satisfied.
    here is an example of my hooks.json
    [
        {
          "id": "updatehook",
          "execute-command": "/path-to-shell-script/update.sh",
          "command-working-directory": "/path-to-where-shell-script-should-be-executed/folder",
          "pass-arguments-to-command":
        [
          {
            "source": "payload",
            "name": "head_commit.id"
          },
          {
            "source": "payload",
            "name": "myname"
          },
          {
            "source": "payload",
            "name": "my email"
          }
        ],
          "trigger-rule":
          {
            "match":
            {
              "type": "ip-whitelist",
              "ip-range": "104.192.143.0/24"
            }
          }
        }
      ]
    Tunjidir
    @Tunjidir
    Please any help that can be rendered would be welcome, Thanks
    @adnanh
    @adnanh
    Tunjidir
    @Tunjidir
    @adnanh please help me out
    Tunjidir
    @Tunjidir
    an update to this. i am running webhook inside a docker container, whenever the hook is triggered, i always get an error. "could not locate command working directory."
    ScrumpyJack
    @ScrumpyJack
    @Tunjidir docker might be the issue here, as cgroups restricts access to mounts etc. do you have the possibility to run the go binary on your host?
    Tunjidir
    @Tunjidir
    yeah. there are so many complexities involved when trying the tool out with docker.
    @ScrumpyJack i got it to run on docker though, after battling with it half of my day yesterday.
    but yeah, it works when you run the native binary on your host.
    Tarun
    @tarun-teja
    Hi All, I am trying to use adnanh as webhook between github and jenkins and was wondering if we can trigger goland scripts instead of bash scripts via adnanh webhook?