Open reece-oliver opened 2 years ago
I think we've worked out the cause of this - @reece-oliver 's code was using a different Builder class, and it was returning a list of objects of the wrong type:
// Artifactory plugin
import org.jfrog.build.api.builder.ArtifactBuilder
import org.jfrog.build.api.builder.DependencyBuilder
replaced with
import org.jfrog.build.extractor.builder.ArtifactBuilder
import org.jfrog.build.extractor.builder.DependencyBuilder
I don't know why the old one stopped working and the new one needed to be used - those two classes are very similar, if not identical, apart from the returned types, but something in the plugin meant the new one was needed after a certain point/version
Describe the bug Upgraded to artifactory plugin to 3.16.1 from 3.14.2 and when I try to publishBuildInfo to my artifactory server I see the below error
Stack trace
To Reproduce
Expected behavior It should publish the buildInfo to artifactory, it does this fine in artifactory plugin 3.14.2
Versions
Additional context Add any other context about the problem here.