appveyor PushArtifact fails with the exit code 0
Hello,
the command "appveyor PushArtifact" fails with the message below and ends with
the exit code 0. Could you please check?
========================================
C:\projects\Npackd>appveyor PushArtifact wpmcpp\build\32\release\Npackd32-1.20.1.msi || exit /b 0
Error pushing artifact: The operation has timed out
========================================
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 24 Feb, 2015 06:38 PM
How big is that MSI?
2 Posted by tim.lebedkov on 24 Feb, 2015 06:57 PM
7 MB
3 Posted by tim.lebedkov on 24 Feb, 2015 07:11 PM
BTW, it is completely unclear to me how the follow line could produce the output above:
========================
appveyor PushArtifact wpmcpp\build\32\release\Npackd32-%version%.msi || exit /b %errorlevel%
========================
Support Staff 4 Posted by Feodor Fitsner on 24 Feb, 2015 07:15 PM
7 MB should be OK.
Why would you need
|| exit /b %errorlevel%
at the end of line?5 Posted by tim.lebedkov on 24 Feb, 2015 07:17 PM
here is the file: https://code.google.com/p/windows-package-manager/source/browse/AppVeyorBuild.bat?repo=npackd-cpp
|| exit /b %errorlevel %
is necessary to exit if one command fails.
Support Staff 6 Posted by Feodor Fitsner on 24 Feb, 2015 07:19 PM
Oh, I see. OK, do you have issues with pushing other artifacts (try changing their order)?
7 Posted by tim.lebedkov on 24 Feb, 2015 08:11 PM
C:\projects\Npackd>appveyor PushArtifact wpmcpp\build\32\release\Npackd32-1.20.1.zip || exit /b 0
Error pushing artifact: The operation has timed out
Support Staff 8 Posted by Feodor Fitsner on 24 Feb, 2015 08:46 PM
Looks like kind of sporadic error. I see it worked yesterday on 69 build. Build environment has been untouched for a week.
I'm just curious if you try pushing something in the beginning of the build - would that work? Just build a fake zip of approx the same size and push it.
Another option to configure collection of artifacts on "Artifacts" tab of project settings. You can use
$(version)
in their paths to expend environment variable.tim.lebedkov closed this discussion on 22 May, 2016 09:15 AM.