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

Does not support Github SCM material introduced by gocd-build-github-pull-requests #71

Open
hubx opened this issue Nov 6, 2020 · 0 comments

Comments

@hubx
Copy link

hubx commented Nov 6, 2020

https://github.com/ashwanthkumar/gocd-build-github-pull-requests is used by many in combination with gocd to build and verify PRs

If you add any Github SCM material - the gomatic configuration will fail with:

  File ".../venv3/lib/python3.8/site-packages/gomatic/gocd/materials.py", line 28, in Materials
    raise RuntimeError("don't know of material matching " + ET.tostring(element, 'utf-8'))

For python3 you need to fix that to raise RuntimeError("don't know of material matching " + str(ET.tostring(element, 'utf-8'))) and you get a RuntimeError: don't know of material matching b'<scm ref="<uuid>" />\n '

I don't how the Github SCM works and if GitMaterial could be reused (the UI selectors in gocd look very similar)

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