Support jenkins notifyCommit

pmv avatarpmv created an issue

It would be nice if the jenkins plugin would support the "new" notifyCommit feature in addition to the current trigger implementation. (see the Push Notifications section)

Similar features exist for the git and svn plugins.

Ideally if this was implemented it could be either a global configuration or per repository configuration. (We would prefer a global configuration since all our repositories are built on one build server, but I could see others having a need for a per-repository configuration).

Definitely not a big deal; it would just be one of those "nice to have" features.

Comments (7)

  1. Sebastian Sdorra

    I've released version 1.1 of the jenkins plugin. The version 1.1 can use the notifyCommit feature of git and mercurial. Just update the plugin over the plugin center and configure the url of your jenkins server (Config->General->Jenkins Configuration). Note: The notifyCommit feature is only used if no jenkins configuration is found on the repository (old configuration style).

    Could you please test the new version?

  2. pmv

    Initial testing looks great. We don't currently use git, so I couldn't test that, but for mercurial it works exactly as I had hoped. Thank you!

  3. pmv
    • changed status to new

    This may sound silly, but this appears to only work if I have debug logging turned on, i.e., <logger name="sonia.scm.jenkins" level="DEBUG" />

  4. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.