Skip to content

Add the ability to download artifacts automatically based on a regular expression#15

Open
AndreRenaud wants to merge 2 commits intojszwedko:masterfrom
AndreRenaud:master
Open

Add the ability to download artifacts automatically based on a regular expression#15
AndreRenaud wants to merge 2 commits intojszwedko:masterfrom
AndreRenaud:master

Conversation

@AndreRenaud
Copy link
Copy Markdown

No description provided.

Copy link
Copy Markdown
Owner

@jszwedko jszwedko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @AndreRenaud !

In principle, I can see how this would be useful, but what do you think of moving it to a separate subcommand, download-artifacts, that would be able to fetch based on the build and node or the build and path in addition to the regex.

Comment thread main.go
}

baseURL, err := url.Parse(c.String("host") + "/api/v1/")
baseURL, err := url.Parse(c.String("host") + "/api/v1.1/")
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you mean to include this change? There is a PR over on go-circleci to switch or add support for the v1.1 API, but just switching the path causes 404s for many endpoints as the v1.1 API requires you to prefix the path with /github or /bitbucket

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants