Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

AndreRenaud
Copy link

No description provided.

Copy link
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.

@@ -153,7 +185,7 @@ func main() {
)
}

baseURL, err := url.Parse(c.String("host") + "/api/v1/")
baseURL, err := url.Parse(c.String("host") + "/api/v1.1/")
Copy link
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