Run build on same environment with different environment variables?
I need to run a build on the same environment but with different environment variables.
I have this right now:
image:
- Visual Studio 2015
- Visual Studio 2017
environment:
matrix:
- nodejs_version: "4"
- nodejs_version: "6"
Additionally to VS15 node4, VS15 node6, VS17 node4, VS17 node6 I also have to run VS17 node6 with different environment variables. Can I do this somehow?
Jan
PS: If it is easier to achieve, I can also run all the other builds (VS15 node4, VS15 node6, VS17 node4) with these different environment variables as well.
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

1 Posted by Ilya Finkelshte... on 14 Feb, 2018 07:50 PM
Approach is the same as here
2 Posted by Jan Pio on 15 Feb, 2018 04:10 PM
Thanks, works.
It was unclear to me that
APPVEYOR_BUILD_WORKER_IMAGEis an env var - but now makes sense.Jan Pio closed this discussion on 15 Feb, 2018 04:10 PM.