有没有办法通过Windows命令行或批处理文件创建文件夹和复制工件到sonatype nexus存储库中创建的文件夹?
I have finally got solution to my problem by curl functionality.
curl -u admin:admin123 -TC:\\upload\\Test.txt http://Nexus_Repo_URL/folder_to_be_created/Test.txt
"folder_to_be_created" is the folder which is created in the repository and the file, 'Test.txt', is copied to it
Just upload the artifacts to whatever path is needed using one of the methods described here:
Any folders needed will be created automatically.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.