gitblit-org / gitblit

pure java git solution
http://gitblit.com
Apache License 2.0
2.28k stars 670 forks source link

Enhancement Request: ticket handling through rpc / ssh via powertools plugin #897

Open gitblit opened 9 years ago

gitblit commented 9 years ago

Originally reported on Google Code with ID 601

We're currently looking into hooking up jenkins with gitblit. The main idea is to have
a jenkins job per gitblit ticket and have jenkins report the build status as a comment
/ vote for a ticket.

This is more or less a feature that some github projects do via travis ci: http://www.codeaffine.com/2014/09/01/travis-continuous-integration-for-github-projects/

There is already a jenkins-gitblit-notifier plugin for jenkins: https://github.com/kizdebski/jenkins-gitblit-notifier

The same author also got a commit that should implement that feature. But from my understanding
it is incompatible to the jenkins plugin due to different request calls (UPDATE_TICKET
vs. VOTE_PATCHSET): https://github.com/kizdebski/gitblit/commit/d3b5a9c277092bfdf2e4dbf2aa05859182b0e8e6

From my point of view it would be nice to have either the possibility to go via rpc
calls or via ssh (through the powertools-gitblit-plugin ). IMHO it is much better to
have this changed upstream then to have everyone implement it by themselves.

Reported by henning.henkel on 2015-06-29 10:23:22

wbrawner commented 6 years ago

Hey, I wanted to check in on this and see if this is planned or any progress has been made. I'd love to be able to quickly view a build status for a ticket and even prevent a merge until Jenkins approves it (by building, running tests, etc). I imagine having a sort of REST API would be best, because then it could be open to other build services aside from just Jenkins, like GitHub's Status API or BitBucket's Build Status API. I'd also be happy to look into doing it myself if no one else is on it already.