Hi, I have a problem regarding the mentioned above. I want to *trigger a 
job after a push* was done to
the repository. I'm using the *Mercurial plugin*, and according to the 
documentation I can trigger jobs by adding these hooks:

[hooks]
commit.jenkins = wget -q -O /dev/null <jenkins 
root>/mercurial/notifyCommit?url=<repository remote url>
incoming.jenkins = wget -q -O /dev/null <jenkins 
root>/mercurial/notifyCommit?url=<repository remote url>

to the hgrc.

Since I'm using *ssh to connect* to the Mercurial server, I added *these hooks*:


*commit.jenkins = wget -q -O /dev/null 
JENKINS_IP:PORT/mercurial/notifyCommit?ssh=hg-user@MERCURIAL_SERVER_IP/~/REPO_PATHincoming.jenkins
 = wget -q -O /dev/null 
JENKINS_IP:PORT/mercurial/notifyCommit?ssh=hg-user@MERCURIAL_SERVER_IP/~/REPO_PATH*


Then, I *pushed a change* to the repo, but *no job was triggered.* I received 
the following warning:

*remote: warning: incoming.jenkins hook exited with status 8*

Thanks a lot 





-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to