Search code examples
artifactorygithub-actionsjfrog-cli

JFrog CLI - Unable to create nested folder while uploading package


I am here uploading a nuget package to a JFrog Artifactory using GitHub actions by setup JFrog using this action.

For that purpose I have tried below command at first - which successfully uploaded the package but at wrong path...

jfrog rt u *.nupkg folder1/folder1.1/folder1.1.1/folder1.1.1.1/

It considered folder1/folder1.1/folder1.1.1/folder1.1.1.1/ as a single folder.

So after going through this answer, I tried having it's value as true / false both but it didn't work and threw an error.

Any suggestion that how can I create a nested folder using jfrog cli ?


Solution

  • Well, the issue never existed.

    The fun part is,

    JFrog doesn't create an empty directory. .

    When I tried to create a Folder1.2 then it displayed nested hierarchy.