Affects Version/s: None
Fix Version/s: 6.0.0
Distributing a docker build to Bintray fails with REST API (or using the jenkins DSL) has issues:
Steps to reproduce:
-create distribution repo, use default rules
-create a docker build
-try to use https://www.jfrog.com/confluence/display/RTF/Artifactory+REST+API#ArtifactoryRESTAPI-DistributeBuild or https://www.jfrog.com/confluence/display/RTF/Working+With+Pipeline+Jobs+in+Jenkins#WorkingWithPipelineJobsinJenkins-DistributingBuildArtifacts for the build.
-see that the API errors out (see curl.txt and jenkins.txt). The curl request seems to distribute to Bintray with a partial success (you see the image in the bintray repo), however using the Jenkins API completely fails.
-Workaround: add docker.repoName and docker.manifest properties to all layers of the artifacts in the build