Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [hook]

The tag has no usage guidance.

4
votes
2answers
852 views

Extract data that Jenkins receives from POST hooks sent by eg. github or bitbucket

I have a Jenkins job Trigger builds remotely (e.g., from scripts), and bitbucket PULL request HOOK triggers that job we can say everything works fine. Jenkins is smart to check any change and build ...
4
votes
1answer
1k views

Git Server Side Hook using C#

With subversion and VisualSVN I was able to put a .net binary file as the hook using c# and building the assembly. You just put a file called Post-Commit.exe in the hook folder and it works. With git ...
0
votes
1answer
310 views

pm2 throws error in git hook

My Server throws an error if the following git post-receive hook is called: #!/bin/sh # pm2 start main.js --name powerapp If the command is entered by one by one into the terminal it will work. So ...
0
votes
1answer
776 views

Run shell script as another user after git hook

I'm trying to execute a shell script that initialize the deployment of a web application after a git push. The shell script must be run as root ( or another user that is not the git user ). Searching ...
1
vote
0answers
280 views

libvirt hook qemu suse12

we have this qemu hook. In suse 11 was working well but in suse 12 it is not working. The hook is setting the ports in openvswitch native-untagged. Do you know if there is some libvirt missing ...
1
vote
0answers
213 views

Getting new tags in Git Push on pre-receive

I'm using pre-receive hooks in GIT (using bash on Linux) to filter the push that are allowed into my repo. I need to filter the push that developers do into my GIT repo, allowing just pushed with ...
1
vote
0answers
123 views

Gitlab add default post-update

we've setup Gitlab (as was described at official site). All works fine. Now we need to add git hook to new-created projects called post-update (lets say it is located at /home/git/gitolite/hook/post-...
0
votes
0answers
17 views

“replay” git push for post-receive hook

I am trying to link Jira issues to commits in a central git repository, and have found the plugin SCM Activity for Jira. It is designed to be called from a post-receive hook. The post-receive (and ...
0
votes
0answers
53 views

GitLab CE Post Merge Scripts Hook

Is it possible to trigger a script on the remote repository server (where GitLab is installed) when I accept the Merge Requests from the Backend Panel? I installed a post-merge hook in /var/opt/...
0
votes
0answers
78 views

Iptables service reload or restart should restart another service, like Docker

I know there is a way, I just don't remind how to. I need to have the IPTables restart the Docker service when I reload, restart the iptables. I am pretty sure there is a HOOK way to that with ...
0
votes
0answers
258 views

Elastic beanstalk hooks are not created on the first “eb deploy” or in the new EC2 instances

With reference to the docs, http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/custom-platform-hooks.html http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/customize-containers-ec2.html ...
0
votes
0answers
54 views

Iredmail Hooks - Listening on localhost

I have installed Postfix on a Docker container and Postgresql on another one. When sending emails between two users, everything is OK but when I tried to invoke a Shell script on mail receipt (using ...