1

I want my job to be triggered by changes to a mercurial repository (with an ssh address), but I don't want that job to try to clone that repository.

Is there any way to do this?

PortMan
  • 4,205
  • 9
  • 35
  • 61

2 Answers2

1

I would suggest using a post-commit hook that calls the proper Jenkins API.

Community
  • 1
  • 1
kenny
  • 3,439
  • 3
  • 26
  • 31
0

There is a plugin that can help you with this, check it out here on Jenkins, https://wiki.jenkins-ci.org/display/JENKINS/FSTrigger+Plugin. I did achieve the same on Hudson a while ago.

kulfy
  • 27
  • 1
  • 7
  • This plugin only allows me to poll file or directory. I need to poll a mercurial repository with an ssh address. – PortMan May 14 '15 at 19:56