Skip to content

Get-VSTeamBuildDefinition fails #155

Closed
@botterberg

Description

Steps to reproduce

`Get-VSTeamBuildDefinition -Project my-project'

Get the following error

`The property 'variables' cannot be found on this object. Verify that the property exists.
At C:\Program Files\WindowsPowerShell\Modules\VSTeam\6.2.0\Classes\VSTeamBuildDefinition.ps1:35 char:7

  •   $this.Variables = $obj.variables
    
  •   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [], PropertyNotFoundException
    • FullyQualifiedErrorId : PropertyNotFoundStrict

The property 'variables' cannot be found on this object. Verify that the property exists.
At C:\Program Files\WindowsPowerShell\Modules\VSTeam\6.2.0\Classes\VSTeamBuildDefinition.ps1:35 char:7

  •   $this.Variables = $obj.variables
    
  •   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [], PropertyNotFoundException
    • FullyQualifiedErrorId : PropertyNotFoundStrict`

VSTeamVersionTable
ServiceFabricEndpoint 5.0-preview Build 5.0 ExtensionsManagement 5.1-preview Release 5.1-preview Version VSTS MemberEntitlementManagement 5.1-preview Packaging 5.1-preview Tfvc 5.0 Git 5.1-preview Core 5.0 Graph 5.1-preview DistributedTask 5.0-preview

PSVersionTable
PSVersion 5.1.17134.590 PSEdition Desktop PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...} BuildVersion 10.0.17134.590 CLRVersion 4.0.30319.42000 WSManStackVersion 3.0 PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions