appveyor.yml is ignored
Hello,
my appveyor.yml is ignored. This seems to be a bug: https://ci.appveyor.com/project/tim-lebedkov/windows-package-manager-npackd-cpp-4v6pl
--Tim
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 05 Feb, 2015 09:59 PM
Hi Tim,
That's correct - in "generic" Git and Mercurial provider implementation
appveyor.yml
is not supported. There is no way to read it from remote repo before the build starts.Support Staff 2 Posted by Feodor Fitsner on 05 Feb, 2015 10:00 PM
However, there is an option to pass it along with webhook payload (if you could setup post-receive server hook), but I'm not sure this is supported by Google Code.
3 Posted by tim.lebedkov on 05 Feb, 2015 10:03 PM
Do you plan to change this? For me this looks like a bug.
4 Posted by Scott Semyan on 21 May, 2015 10:59 PM
Can you elaborate on this? We are using Git deployment. We exported our current settings into an appveyor.yml file that we placed in the root of our project but it does not seem to be read.
Support Staff 5 Posted by Feodor Fitsner on 21 May, 2015 11:07 PM
If should setup POST RECEIVE hook in your repository to call AppVeyor webhook URL. There is a sample hook in Ruby: https://github.com/appveyor/webhooks
Webhook payload should be like: https://gist.github.com/FeodorFitsner/c1056be9152402918874
6 Posted by Steen F. Tøttru... on 03 Jun, 2015 08:26 AM
Uhm, not sure I understand what to do about this issue. We have a lot of projects that should be using the same appveyor.yml file. So this is a central feature for us.
We have all our projects on Bitbucket (in Hg/Mercurial), and I can see some sort of webhook has already been added to the project config on Bitbucket after I've added some of the projects to AppVeyor.
So what should I do to make AppVeyor use the appveyor.yml file for project settings (the file is added to the root of the repo) ??
Support Staff 7 Posted by Feodor Fitsner on 03 Jun, 2015 02:32 PM
Hi Steen,
What is the project/repo name you are having problems with?
appveyor.yml
(all lowercase).appveyor.yml
should exist in branch you are building.8 Posted by Steen F. Tøttru... on 03 Jun, 2015 08:42 PM
Hi Feodor,
the repo I'm trying to get to work atm, is from Bitbucket and the repo name is illumi.toolbox.ssn
And.. I need to be better at spelling I guess, now it seems like it picked up the appveyor file, but for some reason it didn't push the package. But that's another problem for another day!
Thank you,
Steen
Support Staff 9 Posted by Feodor Fitsner on 03 Jun, 2015 08:45 PM
OK, that's great appveyor.yml works there. Let me know what problem you have with pushing artifacts.
10 Posted by Steen F. Tøttru... on 04 Jun, 2015 05:15 AM
I have this in my yml file:
build:
project: illumi.toolbox.ssn.sln
publish_nuget: true
verbosity: minimal
But when I build, there no "nuget pack" command in the log.
Have I missed something? There's a Illumi.Toolbox.SSN.nuspec file in the src folder.
Thanks,
Steen
Support Staff 11 Posted by Feodor Fitsner on 04 Jun, 2015 05:22 AM
To have automatic packaging of nuget the file
Illumi.Toolbox.SSN.nuspec
should be in project folder and has the same name as project, i.e. if project name isIllumi.Toolbox.SSN.csproj
it should work.12 Posted by Steen F. Tøttru... on 04 Jun, 2015 05:23 AM
Ah, well, that makes sense, and should fix my problem!
Thank you for the quick replay.
tim.lebedkov closed this discussion on 22 May, 2016 09:15 AM.