What does the `configuration` tag do exactly?

RJ Catalano's Avatar

RJ Catalano

11 Feb, 2017 04:24 PM

I've been trying to find reference for what this tag actually does but I can't seem to find anything. Any clarification might be useful.

Specifically I'm looking to make two parallel jobs with different environmental variables (with an overarching set of global environmental variables) that are then passed through a shell script that filters through these environmental variables. (Side note: Is there any way in the matrix to differentiate what each job will install?)

  1. Support Staff 1 Posted by Feodor Fitsner on 14 Feb, 2017 01:27 AM

    Feodor Fitsner's Avatar

    configuration is for msbuild-based projects and it's usually used together with platform.

    For your project you can define a matrix with custom environment variables. To differentiate what each job installs you can use batch or PowerShell conditional statements, for example:

    install:
    - IF DEFINED MyVar install-my-software.cmd
    
  2. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:14 AM.

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