Wednesday 15 January 2014

visual studio - Don't commit check-in if build status not green -


We have made a gate near the check-in with our construction. Sometimes they are red orange or red when they become red, the changes are rejected and not committed. In order to build orange for check-in, check-in is not rejected and in return it is committed. How do we configure TFS to check-in as a change that creates orange construction results?

I do not care about the causes of orange. I just want to deny check-in.

Enter image details here

< Div class = "post-text" itemprop = "text">

You need to determine why the build is going to orange and then decide whether the cause can fail

  • Your Unit Test Pass
  • < / Blockquote>

    Your question does not specify why your construction is actually partially successful.

    If your unit tests are not successful, then you can tick the build box in the test window BuildDefinition> Process> Test> Test Dialogue

    If you want to make a custom, you fail the build, then you set up your own setflights in the workflow You can add, build template in

    You can choose again the CD is the build of that build Which is what you want to do in the event of failure, status, or test.

    This is an example of how I succeeded partly if code coverage is not enough, but it shows important parts


    No comments:

    Post a Comment