rundeck-plugins / nexus-step-plugins

7 stars 7 forks source link

Destination Path default file naming issue #12

Open fellenberger opened 8 years ago

fellenberger commented 8 years ago

When pulling an artifact, if I just specify a directory in the Destination Path (i.e. /tmp/), the filename used is of the .tmp file variety:

Copy completed: /tmp/nexus-get-artifact4102906083194215679.tmp

I would have expected the default filename that would be used is the one constructed from the following parameters:

[Artifact]-[Version].[Packaging]

Seems redundant to have to also construct the filename in the Destination Path if I just want to use the filename as it exists in Nexus

gschueler commented 8 years ago

sounds like a bug since the Destination Path explicitly says a path ending with / will use the source file name

grafjo commented 8 years ago

@gschueler this enhancement is implemented via #11 by @honnel

what we need is a new release of this plugin :-)

fellenberger commented 7 years ago

Sorry for the delay in looking at this. I pulled the latest code, built the jar, and can confirm that the fix for the file naming issue has been resolved. Yes, would be great to formalize onto a release as this point for others to use. Thanks!

fellenberger commented 7 years ago

@ahonor can you package up a new release when you have some cycles to do so?