Skip to content

Could not build the build-info object. #781

Open
@adamtenna

Description

Describe the bug

Task :artifactoryDeploy
Deploying build info...
Could not build the build-info object.

Task :artifactoryDeploy FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':artifactoryDeploy'.
java.io.IOException: JFrog service failed. Received 400: {
    "errors" : [ {
      "status" : 400,
      "message" : "Could not insert build BuildWrapper(build=Build{version='1.0.1', name='radio-sdk-android', number='1705687499145', buildAgent=Gradle/7.4, agent=Gradle/7.4, started='2024-01-19T12:04:58.591-0600', durationMillis=153872, principal='firstlast', artifactoryPrincipal='[email protected]', artifactoryPluginVersion='Unknown', url='null', parentName='null', parentNumber='null', vcs='[]', parentBuildId='null', buildRetention=null, runParameters=null, modules=[org.jfrog.build.api.Module@f884abab], statuses=null, buildDependencies=null, issues=null}, buildRepo=artifactory-build-info)"
    } ]
  }

To Reproduce
This error happens when adding a 2nd flavor on my 2nd flavor dimension. E.g. this works:

flavorDimensions = ["visibility", "features"]
    productFlavors {
        internal {
            dimension "visibility"
        }
        external {
            dimension "visibility"
        }
        normal {
            dimension "features"
        }
    }

But this does not (added spi flavor as the only change):

flavorDimensions = ["visibility", "features"]
    productFlavors {
        internal {
            dimension "visibility"
        }
        external {
            dimension "visibility"
        }
        normal {
            dimension "features"
        }
        spi {
            dimension "features"
        }
    }

Expected behavior
Build success with no errors as happens without the spi flavor presnt.

Screenshots
N/A

Versions

  • Extractor version: 5.1.14
  • Operating system: macOS Sonoma 14.2.1
  • Artifactory Version: 4.31.0 (assuming this means my version for com.jfrog.artifactory in my plugins section)

Additional context
N/A

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    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