Skip to content
This repository was archived by the owner on Feb 12, 2025. It is now read-only.
This repository was archived by the owner on Feb 12, 2025. It is now read-only.

LastBuildStatusTaskCondition only ever matches Success #310

@appel1

Description

@appel1

IIntegrationResult.LastBuildStatus is only ever set if IntegrationRunner.GetModifications throws an exception. See

result.LastBuildStatus = lastResult.HasSourceControlError ? lastResult.LastBuildStatus : lastResult.Status;

This means that for all other cases it will have the default value Success and can't be used in for example LastBuildStatusTaskCondition to trigger a task if the last build result was Failure.

Or am I missing something here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions