appveyor PushArtifact fails with the exit code 0

tim.lebedkov's Avatar

tim.lebedkov

24 Feb, 2015 06:08 PM

Hello,

the command "appveyor PushArtifact" fails with the message below and ends with
the exit code 0. Could you please check?

https://ci.appveyor.com/project/tim-lebedkov/windows-package-manager-npackd-cpp/build/job/bewk9hunjfwu8nal

========================================
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
========================================

  1. Support Staff 1 Posted by Feodor Fitsner on 24 Feb, 2015 06:38 PM

    Feodor Fitsner's Avatar

    How big is that MSI?

  2. 2 Posted by tim.lebedkov on 24 Feb, 2015 06:57 PM

    tim.lebedkov's Avatar

    7 MB

  3. 3 Posted by tim.lebedkov on 24 Feb, 2015 07:11 PM

    tim.lebedkov's Avatar

    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%
    ========================

  4. Support Staff 4 Posted by Feodor Fitsner on 24 Feb, 2015 07:15 PM

    Feodor Fitsner's Avatar

    7 MB should be OK.

    Why would you need || exit /b %errorlevel% at the end of line?

  5. 5 Posted by tim.lebedkov on 24 Feb, 2015 07:17 PM

    tim.lebedkov's Avatar

    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.

  6. Support Staff 6 Posted by Feodor Fitsner on 24 Feb, 2015 07:19 PM

    Feodor Fitsner's Avatar

    Oh, I see. OK, do you have issues with pushing other artifacts (try changing their order)?

  7. 7 Posted by tim.lebedkov on 24 Feb, 2015 08:11 PM

    tim.lebedkov's Avatar

    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

  8. Support Staff 8 Posted by Feodor Fitsner on 24 Feb, 2015 08:46 PM

    Feodor Fitsner's Avatar

    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.

  9. 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