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

Fix the pipelines run open url to open build instead of definition #674

Merged
merged 1 commit into from
Jun 19, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion azure-devops/azext_devops/dev/pipelines/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
from azext_devops.dev.common.uuid import is_uuid
from azext_devops.devops_sdk.v5_0.build.models import Build, DefinitionReference
from .build_definition import get_definition_id_from_name
from .pipeline_run import _open_pipeline_run

logger = get_logger(__name__)

Expand Down Expand Up @@ -127,7 +128,7 @@ def pipeline_run(id=None, branch=None, commit_id=None, name=None, open=False, va
raise ValueError('The --variables argument should consist of space separated "name=value" pairs.')
queued_build = client.queue_build(build=build, project=project)
if open:
_open_pipeline(queued_build, organization)
_open_pipeline_run(queued_build, organization)
return queued_build


Expand Down