Hi Mohan,
You can indeed! You'll just need to configure your build server to post build results to the Stash Build Status REST API. See the documentation on Updating build status for commits for details.
Depending on your CI server, someone may have already built integration for you. For example:
cheers,
Tim
But i wanted it the other way .. A push to stash server should be queued for build in a continious integration server not the build server posting build results to the Stash Build Status REST API.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi again Mohan,
Absolutely! You could either:
Again, I'd do a quick google to see if someone's already built a Stash hook that integrates with your particular build server before going off and writing your own.
cheers,
Tim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Tim !
So can i push commit/branch from my git client (local repository ) to refs/for/<branchname> ( like gerrit ) in stash server and use the repository hook to notify build server of the available changes in refs/for/<branchname>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yep! That's the general idea. Have a look at the repository hook example I linked to above for the nitty-gritty of actually building a hook to do that.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi again Mohan,
If you're satisfied with this answer, would you mind marking it as correct?
cheers,
Tim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.