Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

As a dev I want to see when a build starts or finishes on the sos online website #4

Open
lprichar opened this issue Jun 4, 2014 · 0 comments

Comments

@lprichar
Copy link
Member

lprichar commented Jun 4, 2014

The url to POST to is sirenofshame.com/ApiV1/BuildStatusChangedV1. You can see an example here: https://github.com/AutomatedArchitecture/SirenOfShame/search?q=BuildStatusChangedV1&type=Code

And an example payload looks like this:

UserName=username&Password=encryptedpwd&ChangedBuildStatuses=[{"StartedTime":"2014-06-04T01:51:23.7831796Z","FinishedTime":"2014-06-04T01:52:01.9849633Z","RequestedBy":"Zzz","LocalStartTime":"2014-06-03T21:52:05.4328817-04:00","BuildDefinitionId":"Project1","Name":"Project+1","BuildId":"635374434837831796","Url":"http://www.google.com","BuildStatusEnum":1,"BuildStatusMessage":null,"Comment":"This+is+a+test","BuildStatusDescription":"Passing"}]&ChangedUsers=[{"AvatarId":0,"DisplayName":"Zzz","Reputation":3,"FailPercent":0,"Csb":3,"TotalBuilds":3,"Fseb":0,"RawName":"Zzz","Hidden":false,"Achievements":[]}]&SoftwareInstanceId=3150

I'd probably start by turning on Fiddler and trying to duplicate what the desktop client does.

Unfortunately this is just a starting point as there is no documentation. Feel free to post any questions in the comments and I'll answers as best as I can.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant