microsoft / microsoft/azure-devops-python-api
Get any build output
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 684
- Forks
- 218
- Avg merge
- 8d 10h
- Merged PRs (30d)
- 1
Description
Hi there,
with
build_client_v6_0 = self._connection.clients_v6_0.get_build_client()
while 1:
build = build_client_v6_0.get_build(project_name, buildId)
logging.debug("Build running (id: {}, build_number: {} status: {}, result: {})".format(build.id, build.build_number, build.status, build.result))
if build.status in ['completed']:
logging.info("Build finished (id: {}, build_number: {} status: {}, result: {})".format(build.id, build.build_number, build.status, build.result))
break
time.sleep(30)
return build
I am able to run a pipeline remotely and verify it's result. But is there a way also to gather more information? E.g. from output variables or at least a string which I could parse.
Thanks
Karsten
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the build_client_v6_0.get_build(project_name, buildId) call shown in the issue and inspect the returned build fields. Determine whether output variables or a parseable build-output string is available through this client; done means identifying a supported way to retrieve that information.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, python
- Domain
- api, devops
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100