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

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?

Activity

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

Metadata

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