question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Deploy task fails with Gradle 6.2.1 on statsd artifact

See original GitHub issue

Since upgrading the build to use Gradle 6.2.1 in #1857 the deploy job is failing, specifically for the statsd artifact, with the following error. For instance, see https://circleci.com/gh/micrometer-metrics/micrometer/5525

Execution failed for task ':artifactoryDeploy'.
> java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Artifact micrometer-registry-statsd-1.4.0-SNAPSHOT.jar wasn't produced by this build.

This leads me to believe it has to do with the shadow plugin we are using with the statsd module.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
shakuzencommented, Mar 3, 2020

Thank you both for the work on this.

1reaction
anuraagacommented, Mar 3, 2020

@izeye Thanks for the tip! Made it easy to debug 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

userguide.pdf - Gradle User Manual
publish a stale bootJar artifact. • or fail if the bootJar task hasn't been called previously. A workaround is to tell Gradle what...
Read more >
Gradle 6.2.1 Release Notes
Gradle will immediately fail the build if an artifact is not trusted or missing from the configuration file. Please refer to the user...
Read more >
Authoring Tasks - Gradle User Manual
When a task reaches its timeout, its task execution thread is interrupted. The task will be marked as failed. Finalizer tasks will still...
Read more >
Upgrading your build from Gradle 5.x to 6.0
The uploadArchives task and the maven plugin are deprecated. ... Failing to pack or unpack cached results will now fail the build.
Read more >
Upgrading your build from Gradle 6.x to the latest
Gradle 6.0 started warning about problems with task definitions (such as incorrectly defined inputs or outputs). For Gradle 7.0, those warnings are now...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found