cancel
Showing results for 
Search instead for 
Did you mean: 
tgayda
Cadet
Cadet
  • 353 Views

Issue when addin post commit hook

Jump to solution

Failure to use file instead of direct script. --script=hook.py option fails. hook.py is treated as a command. Please, help

Labels (1)
Tags (2)
1 Solution

Accepted Solutions
dmis
Flight Engineer Flight Engineer
Flight Engineer
  • 311 Views

Re: Issue when addin post commit hook

Jump to solution

Hi! First of all your hook.py script must exist in directory.

Second hook.py file must be executable. ensure that is chmod +x hook.py

Or you can start python script manually with --command='python3 ./hook.py'

dmis.

View solution in original post

Reply
Loading...
1 Reply
dmis
Flight Engineer Flight Engineer
Flight Engineer
  • 312 Views

Re: Issue when addin post commit hook

Jump to solution

Hi! First of all your hook.py script must exist in directory.

Second hook.py file must be executable. ensure that is chmod +x hook.py

Or you can start python script manually with --command='python3 ./hook.py'

dmis.

View solution in original post

Reply
Loading...
Join the discussion
You must log in to join this conversation.