Skip to content

Commit

Permalink
Fix the pipelines run open url to open build instead of definition (A…
Browse files Browse the repository at this point in the history
  • Loading branch information
atbagga authored and gauravsaralMs committed Jul 10, 2019
1 parent 66457cf commit 2271e60
Showing 1 changed file with 2 additions and 1 deletion.
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

0 comments on commit 2271e60

Please sign in to comment.