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

Support Git branches #20

Open
tobyweston opened this issue Aug 1, 2013 · 1 comment
Open

Support Git branches #20

tobyweston opened this issue Aug 1, 2013 · 1 comment

Comments

@tobyweston
Copy link
Owner

When it trawls the projects, it doesn't consider branch builds :(

closest I've got so far is

http://localhost:8111/guestAuth/app/rest/builds/buildType:id:radiate,branch:name:issue20

http://localhost:8111/guestAuth/app/rest/builds/?locator=buildType:id:radiate,branch:branched:true

Gives all the builds with branches but it's everything build, no grouped/reduced to unique branches. it does return <builds count="0"/> for non-branched builds.

@tobyweston
Copy link
Owner Author

when there are no branches, the branch attribute is missing;

<builds count="4">
<build id="4" number="4" status="SUCCESS" buildTypeId="simple_excel_main" startDate="20130728T130145+0100" href="/guestAuth/app/rest/builds/id:4" webUrl="http://localhost:8111/viewLog.html?buildId=4&buildTypeId=simple_excel_main"/>
<build id="3" number="3" status="SUCCESS" buildTypeId="simple_excel_main" startDate="20130724T190022+0100" href="/guestAuth/app/rest/builds/id:3" webUrl="http://localhost:8111/viewLog.html?buildId=3&buildTypeId=simple_excel_main"/>
<build id="2" number="2" status="FAILURE" buildTypeId="simple_excel_main" startDate="20130724T185806+0100" href="/guestAuth/app/rest/builds/id:2" webUrl="http://localhost:8111/viewLog.html?buildId=2&buildTypeId=simple_excel_main"/>
<build id="1" number="1" status="FAILURE" buildTypeId="simple_excel_main" startDate="20130724T185717+0100" href="/guestAuth/app/rest/builds/id:1" webUrl="http://localhost:8111/viewLog.html?buildId=1&buildTypeId=simple_excel_main"/>
</builds>

vs (builds with branching)

builds count="26">
<build id="37" number="33" status="SUCCESS" buildTypeId="radiate" branchName="master" defaultBranch="true" startDate="20130801T213721+0100" href="/guestAuth/app/rest/builds/id:37" webUrl="http://localhost:8111/viewLog.html?buildId=37&buildTypeId=radiate"/>
<build id="36" number="32" status="SUCCESS" buildTypeId="radiate" branchName="master" defaultBranch="true" startDate="20130801T191941+0100" href="/guestAuth/app/rest/builds/id:36" webUrl="http://localhost:8111/viewLog.html?buildId=36&buildTypeId=radiate"/>
<build id="35" number="31" status="SUCCESS" buildTypeId="radiate" branchName="master" defaultBranch="true" startDate="20130801T191321+0100" href="/guestAuth/app/rest/builds/id:35" webUrl="http://localhost:8111/viewLog.html?buildId=35&buildTypeId=radiate"/>
</builds>

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