appveyor.yml is ignored

tim.lebedkov's Avatar

tim.lebedkov

05 Feb, 2015 09:53 PM

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

  1. Support Staff 1 Posted by Feodor Fitsner on 05 Feb, 2015 09:59 PM

    Feodor Fitsner's Avatar

    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.

  2. Support Staff 2 Posted by Feodor Fitsner on 05 Feb, 2015 10:00 PM

    Feodor Fitsner's Avatar

    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. 3 Posted by tim.lebedkov on 05 Feb, 2015 10:03 PM

    tim.lebedkov's Avatar

    Do you plan to change this? For me this looks like a bug.

  4. 4 Posted by Scott Semyan on 21 May, 2015 10:59 PM

    Scott Semyan's Avatar

    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.

  5. Support Staff 5 Posted by Feodor Fitsner on 21 May, 2015 11:07 PM

    Feodor Fitsner's Avatar

    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. 6 Posted by Steen F. Tøttru... on 03 Jun, 2015 08:26 AM

    Steen F. Tøttrup's Avatar

    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) ??

  7. Support Staff 7 Posted by Feodor Fitsner on 03 Jun, 2015 02:32 PM

    Feodor Fitsner's Avatar

    Hi Steen,

    What is the project/repo name you are having problems with?

    1. Make sure file name is exactly appveyor.yml (all lowercase).
    2. appveyor.yml should exist in branch you are building.
  8. 8 Posted by Steen F. Tøttru... on 03 Jun, 2015 08:42 PM

    Steen F. Tøttrup's Avatar

    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

  9. Support Staff 9 Posted by Feodor Fitsner on 03 Jun, 2015 08:45 PM

    Feodor Fitsner's Avatar

    OK, that's great appveyor.yml works there. Let me know what problem you have with pushing artifacts.

  10. 10 Posted by Steen F. Tøttru... on 04 Jun, 2015 05:15 AM

    Steen F. Tøttrup's Avatar

    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

  11. Support Staff 11 Posted by Feodor Fitsner on 04 Jun, 2015 05:22 AM

    Feodor Fitsner's Avatar

    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 is Illumi.Toolbox.SSN.csproj it should work.

  12. 12 Posted by Steen F. Tøttru... on 04 Jun, 2015 05:23 AM

    Steen F. Tøttrup's Avatar

    Ah, well, that makes sense, and should fix my problem!

    Thank you for the quick replay.

  13. tim.lebedkov closed this discussion on 22 May, 2016 09:15 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