[go-cd] Re: Faster method to add/append artifacts?

2018-04-05 Thread Andrew Jones
Yes - they were specified as directories. If I POST or PUT a zip file, does the server treat that file as a single artifact or part of the folder structure? The documentation doesn't mention - my assumption was that uploading a ZIP would create a single artifact. On Tuesday, March 27, 2018 at

Re: [go-cd] Re: Faster method to add/append artifacts?

2018-04-05 Thread Aravind SV
This seems undocumented and I haven't tried it, but try using "zipfile" instead of "file" and pass it a zip file. If my quick look at the code is right, it should unzip it once uploaded. So, based on the documentation , I mean, trying: curl

Re: [go-cd] Re: Faster method to add/append artifacts?

2018-04-05 Thread Andrew Jones
Thanks, Aravind! The zip file is unzipped into the specified folder (in your example below file.zip would be extracted to a folder named "pkg/ foobar-widgets-1.2.3.jar

Re: [go-cd] Whitelist doesn't work

2018-04-05 Thread Aravind SV
If you don't want the private git repo to be considered, then shouldn't you blacklist it completely? (as in **/*) On Thu, Apr 5, 2018 at 5:21 AM, Oleg Mayko wrote: > Hi All, > there is the build pipeline which have 2 materials one is github repo with > source code and one

[go-cd] Whitelist doesn't work

2018-04-05 Thread Oleg Mayko
Hi All, there is the build pipeline which have 2 materials one is github repo with source code and one is private git repo with config files and scripts. So, i configured whitelist that github repo should be polled upon commit in VERSION file , which means releasing of new version. However, if

Re: [go-cd] Whitelist doesn't work

2018-04-05 Thread Oleg Mayko
Hi Aravind, thanks for answer, case that i want that any commit to private git repo always triggers pipeline and it does, but github repo is pulled too, which is fine , but whitelist doesnot work , because build is done based on the latest commit on github (few days ago). And few days ago,