git-post-receive
Jenkins and GitHub webhook: HTTP 403
I have a GitHub repository which I would like to have notify Jenkins of new commits via a post-receive hook. I\'ve installed the GitHub plugin into Jenkins and have allowed for Jenkins to manage it\'s[详细]
2023-04-05 04:58 分类:问答How can a post-receive hook written in perl get the branch name?
I have a post-receive hook that is written in perl.I need to be able to figure out which branch is being pushed to.How can I do this?I tried looking at @ARGV and $ARGV[2] without su开发者_如何学Python[详细]
2023-03-30 11:19 分类:问答git post-receive hook can not jump back into original cwd
When pushing to our shared bare repository (over ssh), the post-commit does not work properly. It is pretty common as I found out in many threads here and it works fine for two other repositories on t[详细]
2023-03-19 18:56 分类:问答Not able to detect branch from Git post-receive hook
I\'ve g开发者_StackOverflowot a post receive hook setup on the remote repo that tries to determine the branch name of the incoming push as follows:[详细]
2023-03-05 19:53 分类:问答Want Git post receive hook to detect certain file types
I would like my post-receive hook to run a certain script whenever files of a certain type,*.hbm.xml are pushed to the server.[详细]
2023-03-05 02:22 分类:问答post-recieve not invoked when pushing from GIT Bash on Windows
Hey, I have a post-receive hook enabled on my remote repository, works fine when pushing tags\\commit upstream from Linux Machine. ( although I have to sudo when pushing ) .[详细]
2023-03-04 23:18 分类:问答Want git post receive hook to make new commit and push
I would like my post-receive hook to be responsible for updating a version file in the repo itself, under certain conditions. So, suppose I have a file version.txt in my repository,[详细]
2023-03-04 05:04 分类:问答How to track post-receive hook in gitosis
Is there are way of managing a post-receive hook via gitosis-admin so that changes to it can be tracked?[详细]
2023-03-02 02:20 分类:问答need to parse refname in post-receive script
In my post-receive hook, I would like to get the branch the user is committing on, store in a variable, and pass it to a web service (Hudson build system).Can I use the refname passed into STDIN for t[详细]
2023-02-22 19:18 分类:问答How to properly use post-receive hook?
My directory structure is: ~/parent.git/.git/hooks/post-receive The post-receive hook looks like: #!/bin/sh[详细]
2023-01-27 10:02 分类:问答