-
Notifications
You must be signed in to change notification settings - Fork 906
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
Conversation
} | ||
|
||
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(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this url seems to be incorrect, it adds an additional /jobs/
http://192.168.99.100:8084/v2/builds/spinnaker/builds/jobs/SPINNAKER-package-igor
instead of
http://192.168.99.100:8084/v2/builds/spinnaker/builds/SPINNAKER-package-igor
@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(); |
There was a problem hiding this comment.
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
LGTM - needs a rebase |
Rebased. Remember that this depends on spinnaker/gate#161. It will break the UI without it. |
Fixes: spinnaker/spinnaker#605
Depends on: spinnaker/gate#161