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

Update gate Jenkins endpoint #1766

Merged
merged 1 commit into from
Dec 23, 2015
Merged

Update gate Jenkins endpoint #1766

merged 1 commit into from
Dec 23, 2015

Conversation

AMeng
Copy link
Contributor

@AMeng AMeng commented Dec 1, 2015

}

function listBuildsForJob(master, job) {
return Restangular.one('builds', master).one('jobs', job).all('builds').getList();
return Restangular.one('v2').one('builds', master).one('builds').one('jobs', job).getList();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@riltsken
Copy link
Contributor

@AMeng To not encode the URI component you'll need to do this riltsken@7900ccf I can't add commits to this branch unfortunately since it's under your account.

}

function listBuildsForJob(master, job) {
return Restangular.one('builds', master).one('jobs', job).all('builds').getList();
return Restangular.one('v2').one('builds', master).one('builds').one(job).getList();
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to make sure job is not encoded here either

@anotherchrisberry
Copy link
Contributor

LGTM - needs a rebase

@AMeng
Copy link
Contributor Author

AMeng commented Dec 23, 2015

Rebased. Remember that this depends on spinnaker/gate#161. It will break the UI without it.

tomaslin added a commit that referenced this pull request Dec 23, 2015
@tomaslin tomaslin merged commit a66af51 into spinnaker:master Dec 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants