#60 .drone-artifacts directory troubles

wont-fix
nobody
None
2020-02-08
2019-08-21
aliazzz
No

Hi,

The directory ".drone-artifacts" is difficult to realise under an windows system as a . is not accepted as a floder character. Could you please explain how this folder should be created under Windows.

Discussion

  • Ingo

    Ingo - 2019-08-21

    Hi Aliazzz,

    first, windows accepts a dot in folder names like all others.
    Second, what do you try to achieve? The directory is only used during continuous integration. The directory name should only be used in drone helper scripts (like the codesys-ide:local), or inside of a .drone.yml file.

    The latter is described here:
    https://forge.codesys.com/forge/wiki/Continuous%20Integration/

    BR,
    Ingo

     
  • aliazzz

    aliazzz - 2019-08-21

    1) My version of Win10 pro v1803 does not support a . in the folder name... it gives the following "error: Error please specify filename"
    2) I got this from the page you are refering too...
    "On CODESYS Forge, you just need to copy all files which you want to preserve into the subdirectory ".drone-artifacts" of your repository. "

    Offcourse maybe I have totally misunderstood this scentence...

     
  • Ingo

    Ingo - 2019-08-21

    I think it is a misunderstanding. The last example .drone.yml on the linked page shows the usage.

    In fact you just add the linux command to copy the artifact to the end of your .drone.yml.file. Other tools and scripts, which you maybe execute for testing on your windows host should not known anything about that folder.

     
  • Ingo

    Ingo - 2019-09-05
    • status: open --> wont-fix
    • Milestone: 1.0 -->
     
  • aliazzz

    aliazzz - 2019-09-13

    Funny, a newer version of windows 10 accepts a folder with a "." without any error.

     

    Last edit: aliazzz 2019-09-13

Log in to post a comment.