Hello, I am trying to make a pre-hook using Scriptrunner in Bitbucket. The hook is supposed to check if there is a file named "conanfile.py" whenever a user push, if there is not nothing happens but if there is, the hook check what's inside and compare it with a regex I made. The problem I have is that I can't seems to make it find the file. Here is the code of the hook in groovy :
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.