we are currently evaluating the GO Enterprise edition 2.1.0(11943-65dd4ee228d8) and are wondering about the "fetchartifact" behaviour.
From the go documentation:
<fetchartifact stage="dev" job="unit" srcdir="pkg" dest="lib"/>
Fetch all artifacts in the directory 'pkg' from the previous stage in the same pipeline and put them under the directory 'lib'
So if "pkg" contained e.g. foo.jar and bar.jar, I would expect that those artifacts end up in "lib". However, the whole "pkg" folder is copied to "lib" so that you end up having "lib/pkg/foo.jar" and "lib/pkg/bar.jar". Is that the intended behaviour? So if we need the jars directly under "lib", is the only way to achieve that to specify them all separately and use the "srcfile" attribute? That would be quite tedious especially if you've got a lot of artifacts...