Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

[OTTER] How to create File as asset



  • Hello
    I am lost with the new version 😞
    I want to create a file as an asset and use Ensure-Asset function.

    e7cb52b1-c1d8-40aa-888c-b67cfc70a9ec-image.png

    I create a File in the default asset, but is like as text template
    035c2c0f-b78c-4c0a-b424-65396ef9f23a-image.png

    7c05a0b0-c30d-4c1b-bd74-b2898697d6fb-image.png

    And the Ensure-Asset did not work whether I define "TextTemplate "or "File"

        Ensure-Asset
        (
            Directory: /tmp,
            Name: test,
            Type: TextTemplate,
            FileName: test,
            Raft: Default
        );
    
    

    74650755-58ed-4dd2-9433-8efa3cd76f72-image.png

    Best regards
    PhilippeC.


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation