Artifacts are not collecting properly and I'm unable to rdp

bniemyjski's Avatar

bniemyjski

20 Mar, 2017 06:15 PM

I'm not sure if the VS2017 image has anything todo with it but I'm not able to rdp in to see why artifacts that say they exist in the folder aren't being uploaded (some of them are some of them are not in the previous builds)

https://ci.appveyor.com/project/Exceptionless/exceptionless-net/build/4.0.1944

  1. Support Staff 1 Posted by Feodor Fitsner on 20 Mar, 2017 06:29 PM

    Feodor Fitsner's Avatar

    That build has already been cancelled. Let me know next time you can't login via RDP, but don't cancel a build for a while.

  2. 2 Posted by bniemyjski on 20 Mar, 2017 06:57 PM

    bniemyjski's Avatar

    Thanks will do, I figured out the issue, I was doing a dotnet pack during
    the build step (which builds and creates nuget packages).. Even though I
    was populating the artifacts folder, they weren't picked up.. I changed it
    to a be a build and do a second step to pack in after_test and it worked.
    Is this a known issue?

    Thanks
    -Blake Niemyjski

  3. Support Staff 3 Posted by Feodor Fitsner on 20 Mar, 2017 06:59 PM

    Feodor Fitsner's Avatar

    Artifacts collected after after_tests, so they should be created before that.

  4. 4 Posted by bniemyjski on 20 Mar, 2017 08:48 PM

    bniemyjski's Avatar

    I was creating them during build_script step and they weren't being
    detected. I changed it to after_test and the same exact code / artifacts
    were then detected

    Thanks
    -Blake Niemyjski

  5. Support Staff 5 Posted by Feodor Fitsner on 20 Mar, 2017 08:50 PM

    Feodor Fitsner's Avatar

    Can you drop links to both builds please?

  6. 6 Posted by bniemyjski on 20 Mar, 2017 08:57 PM

    bniemyjski's Avatar
  7. Support Staff 7 Posted by Ilya Finkelshte... on 21 Mar, 2017 11:43 PM

    Ilya Finkelshteyn's Avatar

    Hi Blake,

    RDP is fixed on VS2017 image, please feel free to connect and investigate.

    I took a quick glance on your issue and I think (just speculating) that problem maybe because Package.ps1 deletes everything what Build.ps1 packaged. I am not sure what is value of $directory_name, but this look like deleting everything in artifacts folder. So all artifact which packaged here was deleted here and then only few artifacts were packaged. Again, just speculating :)

    Ilya.

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