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

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 Leaders.
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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events