Failure to use file instead of direct script. --script=hook.py option fails. hook.py is treated as a command. Please, help
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.
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.
This solution does not work.
I also tried something like this but still not working:
oc set build-hook bc/name --post-commit --script=”pyhon3 hook.py”
Help will be appreciated.
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.