dmitryserbin / azdev-release-orchestrator

Azure DevOps extension to manage and orchestrate release pipelines
MIT License
23 stars 13 forks source link

On-prem Azure DevOps task V2 error #53

Closed brandonhawkes41 closed 4 years ago

brandonhawkes41 commented 4 years ago

I am receiving an error when trying to run the version 2 task. "Cannot read property 'value' of null"

This is for all possible combinations of inputs to the task that I can think of.

This is for an On-Premise version of Azure DevOps.

dmitryserbin commented 4 years ago

Thanks for the feedback. I might need you to reproduce the issue with debug mode on: to enable debug mode to help troubleshooting issues, please configure DEBUG=release-orchestrator:* custom release variable.

brandonhawkes41 commented 4 years ago

@dmitryserbin, here is the output that you requested.

2020-09-28T22:28:37.9359786Z ##[section]Starting: Release Orchestrator 2020-09-28T22:28:38.0217333Z ============================================================================== 2020-09-28T22:28:38.0218335Z Task : Release Orchestrator 2020-09-28T22:28:38.0219061Z Description : Manage and orchestrate Azure DevOps release pipelines 2020-09-28T22:28:38.0219542Z Version : 2.0.805 2020-09-28T22:28:38.0220065Z Author : Dmitry Serbin 2020-09-28T22:28:38.0220966Z Help : For aditional information and support please refer to https://github.com/dmitryserbin/azdev-release-orchestrator project repository 2020-09-28T22:28:38.0221730Z ============================================================================== 2020-09-28T22:28:41.4570974Z 2020-09-28T22:28:41.421Z release-orchestrator:TaskHelper:getEndpoint { url: 'https:// /tfs/DefaultCollection/', 2020-09-28T22:28:41.4575543Z account: 'tfs/DefaultCollection/', 2020-09-28T22:28:41.4575940Z token: 2020-09-28T22:28:41.4579629Z ' ' } 2020-09-28T22:28:41.4580555Z 2020-09-28T22:28:41.426Z release-orchestrator:TaskHelper:getParameters { releaseType: 'New', 2020-09-28T22:28:41.4581234Z projectName: ' ', 2020-09-28T22:28:41.4581665Z definitionName: ' ', 2020-09-28T22:28:41.4582032Z releaseName: '', 2020-09-28T22:28:41.4582409Z stages: [ ' ' ], 2020-09-28T22:28:41.4582751Z variables: [], 2020-09-28T22:28:41.4583055Z filters: 2020-09-28T22:28:41.4583356Z { releaseTags: [], 2020-09-28T22:28:41.4583713Z artifactTags: [], 2020-09-28T22:28:41.4584084Z artifactVersion: '', 2020-09-28T22:28:41.4584452Z artifactBranch: '', 2020-09-28T22:28:41.4584828Z stageStatuses: [] }, 2020-09-28T22:28:41.4585372Z settings: { sleep: 5000, approvalRetry: 60, approvalSleep: 60000 } } 2020-09-28T22:28:41.4586246Z 2020-09-28T22:28:41.426Z release-orchestrator:TaskHelper:getDetails { endpointName: 'Project Collection Build Service', 2020-09-28T22:28:41.4586962Z projectName: '', 2020-09-28T22:28:41.4589303Z releaseName: 'Release-3', 2020-09-28T22:28:41.4589765Z requesterName: '***', 2020-09-28T22:28:41.4590246Z requesterId: '72e01c84-e975-4e35-ab20-2f05ef94dce5' } 2020-09-28T22:28:41.7944749Z 2020-09-28T22:28:41.786Z release-orchestrator:TaskHelper:fail true 2020-09-28T22:28:41.7951228Z 2020-09-28T22:28:41.786Z release-orchestrator:TaskHelper:fail 1 2020-09-28T22:28:41.7991721Z ##[warning]Cannot read property 'value' of null 2020-09-28T22:28:41.8162272Z ##[section]Finishing: Release Orchestrator

dmitryserbin commented 4 years ago

Ok I think I know what's going on here #55

dmitryserbin commented 4 years ago

I believe this issue has been resolved in v2.0.826