Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

publishPlugin task failed (again), leading to partial publication and non-activation #31

Open
autonomousapps opened this issue Feb 13, 2020 · 1 comment
Labels
a:bug Something isn't working

Comments

@autonomousapps
Copy link

autonomousapps commented Feb 13, 2020

Expected Behavior

Executing ./gradlew publishPlugins should work.

Current Behavior

It does not always.

Context

I have the following output:

> Task :publishPlugins
Publishing plugin com.autonomousapps.dependency-analysis version 0.20.0-SNAPSHOT
Publishing artifact build/libs/dependency-analysis-gradle-plugin-0.20.0-SNAPSHOT.jar
Publishing artifact build/libs/dependency-analysis-gradle-plugin-0.20.0-SNAPSHOT-sources.jar
Publishing artifact build/libs/dependency-analysis-gradle-plugin-0.20.0-SNAPSHOT-javadoc.jar
Publishing artifact build/publish-generated-resources/pom.xml
Activating plugin com.autonomousapps.dependency-analysis version 0.20.0-SNAPSHOT

> Task :publishPlugins FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':publishPlugins'.
> javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1m 41s
8 actionable tasks: 6 executed, 2 up-to-date

Publishing build scan...
https://gradle.com/s/maph5wytn6bni

It looks like it failed at Activating plugin..., because I cannot see v0.20.0 of the plugin in the portal.

Steps to Reproduce

Sometimes it just happens 🤷‍♂️

This is the project: https://github.com/autonomousapps/dependency-analysis-android-gradle-plugin

Your Environment

Ubuntu 18.04, Gradle 6.1.1, apparently poor home network.

@autonomousapps autonomousapps added the a:bug Something isn't working label Feb 13, 2020
@JLLeitschuh
Copy link

@tomdcc You'd probably have the most experience here on how to actually resolve this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants