Artifects and deployment for ZIP configuration

nicke.olofsson's Avatar

nicke.olofsson

08 Apr, 2015 12:30 AM

I have a problem with my settings for creating a "zip artifact". Tried to follow the documentation and created an artifact with the path the the build output src\MiNET\MiNET.Service\bin\$(configuration). Called that minet-server.

Then in the ftp deploy i specified that it should upload that "minet-server" to the ftp. But nothing is uploaded to the ftp.

Any idea what I'm missing in this?

  1. Support Staff 1 Posted by Feodor Fitsner on 08 Apr, 2015 12:34 AM

    Feodor Fitsner's Avatar

    Hi Nicke,

    What do you have on "Artifacts" tab of build results page - could you drop a screenshot please?

  2. 2 Posted by nicke.olofsson on 08 Apr, 2015 12:39 AM

    nicke.olofsson's Avatar

    Oh, didn't see that "tab". I only have my nuget package on that tab. No sign of any other artifacts.

    As i understand this; by specifying the path to the directory it should create a ZIP out of it. But i don't see any attempts even to package it in the logs or anything.

  3. 3 Posted by nicke.olofsson on 08 Apr, 2015 12:42 AM

    nicke.olofsson's Avatar

    Package Web Applications for Web Deploy
     Package Web Applications for XCopy deployment
     Package Azure Cloud Service projects

    All these settings are off (unchecked).

  4. Support Staff 4 Posted by Feodor Fitsner on 08 Apr, 2015 12:42 AM

    Feodor Fitsner's Avatar

    Where did you specify that directory?

  5. 5 Posted by nicke.olofsson on 08 Apr, 2015 12:48 AM

    nicke.olofsson's Avatar

    under Settings->Artifacts

    It's feels a bit too magic for me to be true, but that's how i read the documentation.

  6. Support Staff 6 Posted by Feodor Fitsner on 08 Apr, 2015 12:50 AM

    Feodor Fitsner's Avatar

    Do you use appveyor.yml?

  7. 7 Posted by nicke.olofsson on 08 Apr, 2015 12:52 AM

    nicke.olofsson's Avatar

    Nope, no yml file at all.
    This is the project. I increased the log-level now, maybe can pick something up from that. But it takes a bit of time doing the builds for the queue...

    https://ci.appveyor.com/project/NiclasOlofsson/minet/

  8. Support Staff 8 Posted by Feodor Fitsner on 08 Apr, 2015 01:03 AM

    Feodor Fitsner's Avatar

    Do you have "Configuration" specified on project settings?

  9. 9 Posted by nicke.olofsson on 08 Apr, 2015 01:04 AM

    nicke.olofsson's Avatar

    More logging didn't tell me anything. It doesn't seem to even try to do anything. Maybe i need to enable some other setting somewhere...

    Configuration is set to project default, which is DEBUG.

  10. 10 Posted by nicke.olofsson on 08 Apr, 2015 01:05 AM

    nicke.olofsson's Avatar

    Setting "Debug" and trying again.

  11. Support Staff 11 Posted by Feodor Fitsner on 08 Apr, 2015 01:05 AM

    Feodor Fitsner's Avatar

    Yeah, it should do the trick.

  12. 12 Posted by nicke.olofsson on 08 Apr, 2015 01:13 AM

    nicke.olofsson's Avatar

    No change, but i notice this line now:

    https://ci.appveyor.com/project/NiclasOlofsson/minet/build/1.0.308#L339

    Says it is doing "something" about packaging at least. But that could just as well just be the nuget stuff. I will try to remove the configuraiton variable in the path, and hardocode that to debug. And build again..

  13. 13 Posted by nicke.olofsson on 08 Apr, 2015 01:29 AM

    nicke.olofsson's Avatar

    Ok, i got it to ftp the stuff. I enabled the settings and change to an a path without the config. I'm now removing the settings again to see what part was actually having a positive impact :-)

  14. 14 Posted by nicke.olofsson on 08 Apr, 2015 01:17 PM

    nicke.olofsson's Avatar

    Ok, the culprit was actually in the path. I had a trailing "\" on the path, and that caused it to not create a zip, and ultimately not getting any deployment through.

  15. nicke.olofsson closed this discussion on 08 Apr, 2015 01:17 PM.

  16. Feodor Fitsner re-opened this discussion on 08 Apr, 2015 01:19 PM

  17. Support Staff 15 Posted by Feodor Fitsner on 08 Apr, 2015 01:19 PM

    Feodor Fitsner's Avatar

    I see. OK, thanks for update!

    - Feodor

  18. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:55 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