reconquest / atlassian-external-hooks

External Hooks plugin for Atlassian Bitbucket
https://external-hooks.reconquest.io
Other
44 stars 37 forks source link

With windows server ? #21

Closed lionnel closed 9 years ago

lionnel commented 9 years ago

Hi,

I'm using a stash v3.9.2 deployed on a windows 8.1 computer. I've successfully install this add on, and configured it with mirror sample The script seem to be executed regarding audit log when i push new commit. If i try the script using git bash, it is well exectuted. But there is no result when stash execute it. Any idea ? Has someone already test the add'on under windows instance ?

seletskiy commented 9 years ago

I didn't test it on Windows. Are there any information in stash log?

lionnel commented 9 years ago

error log: Cannot run program "%stashdir%\external-hooks\pushToBitbucket"

I've a good news ! It work ! It's just that the script has to be a windows shell (.bat or .cmd) and the content has also to be suitable to cmd interpretor. But there is no error (no log at all) if the shell started but raise error during execution, so hard to diagnose