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 version 3 of gocd api #5

Open
pracplayopen opened this issue Jul 1, 2019 · 0 comments
Open

support version 3 of gocd api #5

pracplayopen opened this issue Jul 1, 2019 · 0 comments

Comments

@pracplayopen
Copy link

after upgrading to latest gocd (19.4), this dashboard wrapper stopped working.

this broke the dashboard replacement. After talking with gocd, they confirmed that v1 dashboard api that worked for many years was deprecated in version 17 (in last 2 years).

after upgrading the 'dashboard.js' file to use v2/v3 gocd apis, some things worked better but pipelines sitll error.

javascript console error:

Uncaught TypeError: Cannot read property 'pipelines' of undefined
    at populatePipelineGroup (dashboard.js:61)
    at Object.<anonymous> (dashboard.js:44)
    at Function.each (jquery.min.js:2)
    at Object.<anonymous> (dashboard.js:40)
    at j (jquery.min.js:2)
    at Object.fireWith [as resolveWith] (jquery.min.js:2)
    at x (jquery.min.js:4)
    at XMLHttpRequest.b (jquery.min.js:4)
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

No branches or pull requests

1 participant