Deploying during build using environment provider does nothing

Kay's Avatar

Kay

24 Jul, 2021 05:24 AM

from build log:
  Uploading artifacts...
  [1/1] MultiTargetWpfLibraryAppVeyorLab\bin\Release\MultiTargetWpfLibraryAppVeyorLab.0.0.12.nupkg (3,574 bytes)...100%
  rem === Before deployment ===
  Deploying using Environment provider
  Started deployment to NuGet.org environment
  rem === After deployment ===
  Build success
and nothing happens!
if I start deployment manually, it starts publishing.
  Downloading artifact MultiTargetWpfLibraryAppVeyorLab/bin/Release/MultiTargetWpfLibraryAppVeyorLab.0.0.12.nupkg to temporary location...OK
  Publishing MultiTargetWpfLibraryAppVeyorLab.0.0.12.nupkg to https://www.nuget.org/api/v2/package...

https://ci.appveyor.com/project/KsWare/ksware-multitargetwpflibraryappveyorlab
Thanks for any advice

  1. 1 Posted by Kay on 24 Jul, 2021 08:24 AM

    Kay's Avatar

    OK, it seems there is no error shown if deployment failed.
    I would expect more output on failed and also on success. after "Started deployment to NuGet.org environment" line. Maybe also stop build on error.

  2. Support Staff 2 Posted by Feodor Fitsner on 25 Jul, 2021 11:45 PM

    Feodor Fitsner's Avatar

    It's by design - deployment to Environment happens asynchronously.

  3. 3 Posted by Kay on 27 Jul, 2021 05:16 AM

    Kay's Avatar

    So if I need to know if the publishing was successful, I can't use the environment
    Unfortunately, this is not very satisfying and should at least be documented (if it isn't already and I just read over it) I had to spend a lot of unnecessary time to get a successful build process, and I ended up needing your valuable support time.
    Thanks vor helping me.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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

Recent Discussions

13 Apr, 2024 04:43 PM
12 Apr, 2024 04:56 PM
11 Apr, 2024 11:16 PM
09 Apr, 2024 10:59 PM
08 Apr, 2024 07:50 AM

 

06 Apr, 2024 04:06 AM
05 Apr, 2024 01:26 PM
05 Apr, 2024 10:39 AM
04 Apr, 2024 03:41 PM
31 Mar, 2024 05:51 PM
30 Mar, 2024 01:59 PM