-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
Jenkins ver. 2.204.2
nexusArtifactUploader 2.13
When uploading to raw repo the result is an artifact in the repo that has dash '-' prepending the empty str version. If type is null then the dash is at the end of the filename, if type is specified then the dash is before the period extension.
I'm using HTTP Request instead, but I would prefer to have the hash .md5 .sha features of this plugin.
pipeline snip:
nexusArtifactUploader nexusUrl: 'nexus.example.com', credentialsId: 'nexus', nexusVersion: 'nexus3', protocol: 'https', repository: 'test-generic', version: null, artifacts: [ [artifactId: 'foo.txt', classifier: '', file: '/path/to/foo.txt', type: null ] ]
result:
Repository | test-generic |
Format | raw |
Component Group | /foo.txt |
Component Name | foo.txt/foo.txt- |
Path | foo.txt/foo.txt- |
it looks like version is required in some context - doCheckVersion() - but is allowed as null or empty str in pipeline.