Deploying during build using environment provider does nothing
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
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
1 Posted by Kay on 24 Jul, 2021 08:24 AM
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.
Support Staff 2 Posted by Feodor Fitsner on 25 Jul, 2021 11:45 PM
It's by design - deployment to Environment happens asynchronously.
3 Posted by Kay on 27 Jul, 2021 05:16 AM
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.