Build Config vs appveyor.yaml
Hi
I have setup builds using the online config tool and they are working great. I have been looking at the yaml options and notice i can export them via the online UI. If i was to add this to my project, i assume the yaml file wins and is used going forward?
What happens if i have a yaml file but make a change via the UI?
Apologies in advance if these are really stupid questions!
Thanks
Ian
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
Support Staff 1 Posted by Feodor Fitsner on 08 Apr, 2015 04:14 PM
Yes, if
appveyor.yml
is found in the repo it overrides UI settings. The only exceptions here are environment variables and notifications defined on UI which are merged into yaml ones.When you have yaml changing UI doesn't affect build settings unless "Ignore appveyor.yml" option is selected.
2 Posted by joymon on 24 Oct, 2015 10:26 PM
What is the suggested method? UI settings or yml file? is .yml is subset of UI settings? I am planning to include hosting details in AppVeyor and really dont want to expose those via yml
3 Posted by distantcam on 25 Oct, 2015 02:56 PM
@Joy you can always include sensitive data in the yml file by securing it first.
https://ci.appveyor.com/tools/encrypt
Support Staff 4 Posted by Feodor Fitsner on 25 Oct, 2015 05:32 PM
Additionally, environment variables defined on UI are getting merged into those ones defined in appveyor.yml.
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:01 AM.