Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions