Skip to content

All publish tasks fail with: Unrecognized field "slf" #506

@nstuart-idexx

Description

@nstuart-idexx

Describe the bug
Using the gradle artifactory plugin to publish any type of artifact (pom, war, jar) fails with an error and does not publish the artifact. This is against the cloud version of artifactory, <company>.jfrog.io

To Reproduce
Publish any artifact to a repository in the cloud.

Expected behavior
Publishing should succeed with out error.

Versions

  • Gradle Artifactory plugin version: 4.9.6, 4.18.2, 4.21.0
  • Operating system: Linux
  • Artifactory Version: Unknown...cloud hosted

Additional context
Full error in the build:
Execution failed for task ':artifactoryDeploy'.
13 actionable tasks: 13 executed

java.util.concurrent.ExecutionException: java.lang.RuntimeException: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "slf" (class org.jfrog.build.client.ArtifactoryUploadResponse), not marked as ignorable (12 known properties: "checksums", "size", "repo", "downloadUri", "path", "statusLine", "created", "errors", "uri", "mimeType", "createdBy", "originalChecksums"])

at [Source: (org.apache.http.conn.EofSensorInputStream); line: 2, column: 12] (through reference chain: org.jfrog.build.client.ArtifactoryUploadResponse["slf"])

Metadata

Metadata

Assignees

No one assigned

    Labels

    gradle bugCreate a report to help us improve

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions