The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Script to check new commits via Stash REST API

Marek Keerand
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 16, 2013
Hi I'm trying to create a shell script witch checks changes in remote Stash repo. If there are new commits a Git clone operation is issued. So far i have got list of changes via this url https://my.stash.server/rest/api/1.0/projects/MYPOJECT/repos/MYREPO/commits/?changes witch gives JSON formatted output. Any help will be fine. rgrds, Marek

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
LucasA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
July 16, 2013

Hi Marek,

Can you be more specific? Since you already have the list of the commits, what else you need to do?

Best regards,
Lucas Timm

TAGS
AUG Leaders

Atlassian Community Events