Build configuration matrix ordering

Scott Dorman's Avatar

Scott Dorman

31 May, 2014 05:01 AM

The ability to create a matrix of build configurations (for release and debug builds) is great and the fact that if one of the builds fails, they all fail (configurable, of course) is also great. What would be really nice is to be able to specify the order in which the configurations are built. I really want my debug build to run first and if that is successful then to run the release build. Several of my builds built in (Release, Debug) order and then they seemed to magically switch to (Debug, Release) order.

  1. Support Staff 1 Posted by Feodor Fitsner on 31 May, 2014 07:08 PM

    Feodor Fitsner's Avatar

    Ah, I see. Build matrix yields build jobs but the order in which they run is not guaranteed (as of now). Though I will take a look if it's easy to do FIFO ordering while scheduling build jobs.

  2. 2 Posted by Scott Dorman on 31 May, 2014 09:17 PM

    Scott Dorman's Avatar

    Yes, exactly. The build matrix yields build jobs but we have no control over the order in which they are run. Even doing something as simple as running them in the order specified in the build matrix definition would probably work. In my case, my build matrix looks like this:

    Platform:
    Any CPU

    Configuration:
    Debug Release

    So for me, it would always run debug builds first since that's the first configuration listed.

  3. Support Staff 3 Posted by Feodor Fitsner on 31 May, 2014 09:22 PM

    Feodor Fitsner's Avatar

    I see, makes sense.

    - Feodor

  4. 4 Posted by Scott Dorman on 06 Aug, 2014 09:04 PM

    Scott Dorman's Avatar

    Any updates on this request?

  5. Support Staff 5 Posted by Feodor Fitsner on 07 Aug, 2014 01:29 AM

    Feodor Fitsner's Avatar

    Yep, we did some changes to schedule jobs in the order they were submitted. Give it a try and let me know if it works for you.

  6. Scott Dorman closed this discussion on 01 Sep, 2017 01:13 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac