On Tue, Jun 28, 2016 at 12:47 PM David Binney <[email protected]> wrote:

> Thanks david and Moritz for the help,
>
> I am attempting this now which seems like it will do the trick, but am
> getting a little confused by the documentation on artifacts and fetching. I
> have attached a screenshot where it creates an artifacts into a "pkg"
> directory, but then the fetch uses the original source to retrieve? is that
> correct as i thought you would consume from the pkg directory with the
> fetch?
>

Looks like a bug in the documentation. The downstream pipeline should
probably be using "pkg/commonlib.dll" to fetch a specific file, or "pkg" to
fetch the entire directory in case you want to pull down multiple
artifacts. Would you mind submitting a PR with a new screenshot?

Also, can i use parameters to fetch the files as in source :
> build_path/${environment}.apache_vhost.conf
>

If by parameters, you mean pipeline parameters
<https://docs.go.cd/current/configuration/admin_use_parameters_in_configuration.html>,
then yes *"build_path/#{environment}.apache_vhost.conf"*. You cannot user
other "parameters" like environment name in pipeline configs.

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to