Linux Powershell artifacts is empty

Christian's Avatar

Christian

23 Aug, 2018 03:06 PM

As explained we try to use the artifacts array in our build. It works on windows but on ubuntu the following does not produce any output.

deploy_script:
  - ps: |
          foreach ($artifactName in $artifacts.keys) {
            Write-Host $artifactName
            Write-Host $artifacts[$artifactName].path
          }

  1. 1 Posted by Christian on 24 Aug, 2018 12:35 PM

    Christian's Avatar

    Is it clear what I mean?

    On Windows the array: $artifacts is populated in the 'deploy_script' section.

    However on Linux the array is empty.

    Let me know if you need more input.

    Thanks
    Christian

  2. Support Staff 2 Posted by Ilya Finkelshte... on 24 Aug, 2018 04:43 PM

    Ilya Finkelshteyn's Avatar

    Yes. Thanks for catching that. Please watch https://github.com/appveyor/ci/issues/2579. Fix is on the way.

  3. Support Staff 3 Posted by Feodor Fitsner on 09 Sep, 2018 11:12 PM

    Feodor Fitsner's Avatar

    It's been fixed.

  4. Feodor Fitsner closed this discussion on 09 Sep, 2018 11:12 PM.

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