Skip to content

Creation of new release definition fails when a release trigger is defined. #91

Closed
@ntrogh

Description

@ntrogh

When creating a new release definition which contains a release trigger (no matter which type), the process fails with the following error:

vsts.exceptions.VstsServiceError: Invalid data is passed for artifact source trigger object.

Trigger definition:

"triggers": [
        {
            "artifactAlias": "_CI",
            "triggerConditions": [],
            "triggerType": 1
        }
    ]

It seems only the trigger type is being passed to the VSTS REST API and other properties are being stripped out.

When removing the trigger definition from the new release definition, the creation works successfully.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions