TFS 2013: failing a build from PowerShell post-build script

This topic contains 0 replies, has 1 voice, and was last updated by Profile photo of David Stiff David Stiff 2 years, 1 month ago.

  • Author
    Posts
  • #24466
    Profile photo of David Stiff
    David Stiff
    Participant

    Hello,

    has anyone successfully gotten a TFS 2013 build to fail from the post-build PowerShell script?

    I have tried different things suggested on the web to no avail. TFS ignores the return value from the script.

    I am open to creative solutions. (esp. ones that don't involve the TFS workflow 🙂 )

    Thanks!
    Dave

You must be logged in to reply to this topic.