Get any build output
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
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.
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
- Dominant language
- Python
- Stars
- 684
- Forks
- 218
- Avg merge
- 8d 10h
- Merged PRs (30d)
- 1
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.
More from microsoft/azure-devops-python-api
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 1/5 Under an hour Newbie friendliness 55/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
All issues in microsoft/azure-devops-python-api
Similar issues
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
canonical/paas-charm#368 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
tech debt
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
StevenBlack/hosts#3256 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
qualcomm/qai-appbuilder#275 ·