Adding outputFilename field to URI allowing user to pick a name to use for the downloaded artifact from the Mesos fetcher.

This commit is contained in:
Renan DelValle 2019-06-24 16:03:14 -07:00
parent 682cfd931b
commit 1944f6992a
4 changed files with 69 additions and 1 deletions

View file

@ -209,7 +209,8 @@ func TestRealisClient_CreateJob_Thermos(t *testing.T) {
Disk(50).
IsService(true).
InstanceCount(2).
AddPorts(1)
AddPorts(1).
AddURI(false, false, "test.version", "https://raw.githubusercontent.com/paypal/gorealis/master/.auroraversion")
_, err := r.CreateJob(job)
require.NoError(t, err)