I am using PowerShell to generate several values which requires some sophisticated processing logic.
However, I have several steps in my build configuration and I want to avoid having to re-generate this value in each of my PowerShell scripts each time.
Therefore, is it possible to return a value from my PowerShell script and store it in a TeamCity Configuration or System parameter?
For example, if I generate a value from my PowerShell script in Build Step 1, can I return it and store it in TeamCity so that it can be used by any subsequent TeamCity Build Steps (Steps 2, 3, 4 etc.)?
If so, how do I accomplish this?