Closed vjkoskela closed 7 years ago
I am able to reproduce the problem here in house and I'm looking into it. I understand what the cause is.
Addressed with the commit: https://github.com/blackducksoftware/hub-gradle-plugin/commit/f432928069958e1470b4572a74bbdb6300d778f8
Will be in the next release of the plugin 5.0.2
Released 5.0.2 of the gradle plugin containing the fix
It appears that when setting the project name that the file output name is changed, but this causes the plugin to fail. Removing the
hubProjectName
parameter allows the upload to succeed; however, we don't want to use the default project name.Version: 'com.blackducksoftware.integration:hub-gradle-plugin:5.0.1'
Settings:
Output:
And the directory contents in question:
So it seems that the plugin is respecting the project name for generating the file but for some reason then looks for the file name without the customized name. I am not able to reproduce the problem with the 4.0.0 version of the plugin so this seems like a regression with the 5.0.1 version.