How to HTTP PUT an artifact?

Vadim P.'s Avatar

Vadim P.

29 Jun, 2019 02:12 PM

I'd like to upload my artifact to a custom location with HTTP PUT. How can I do that? I didn't find a relevant deployment provider for this.

Basic authentication would be a bonus too.

  1. Support Staff 1 Posted by Owen McDonnell on 29 Jun, 2019 02:16 PM

    Owen McDonnell's Avatar

    You could simply add a curl command with --upload-file option after artifact is created (say, in after_build: script section.

  2. 2 Posted by Vadim P. on 30 Jun, 2019 09:19 AM

    Vadim P.'s Avatar

    Makes sense. Thanks!

  3. Owen McDonnell closed this discussion on 30 Jun, 2019 03:04 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac