Artifacts with custom file names


I am attempting to upload a file with a custom name to Artifactory. I have the following working in release builds, but not snapshots:

Project Name: test-project Version: 1.0.0

artifacts {

def configFile = file(’…/’)

archives configFile }

In the snapshot build, this uploads a file called test-project-1.0.0-SNAPSHOT.erb but in the release build, it uploads correctly to a file named Has anyone had any similar experiences with file names not getting set properly?

Thank you!

Hi Eric, this is pretty strange.

Would you be able to put together a sample project that exhibits this?