Hi,
I try to make small improvement in my CI. Normally is done by REST API and curl, for example (https://www.jfrog.com/confluence/display/JFROG/Artifactory+REST+API)
curl -u myUser:ABcdEF -X PUT “http://localhost:8081/artifactory/my-repository/my/new/artifact/directory/file.txt” -T Desktop/myNewFile.txt
I did translation from CURL but I cannot transfer file like above
- name: My test
uri:
url: https://myartifactory.net/artifactory/arc-generic-local/CI/mateusz_test/newfile
method: PUT
url_username: myuser
url_password: mypass
follow_redirects: all
validate_certs: no
status_code: 201
I tried with src flag and using body and form-multipart but without result. Could you help me with that?
Br,
Mateusz