Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Missing artifacts on maven central #266

Open
bytestack opened this issue May 24, 2019 · 1 comment
Open

Missing artifacts on maven central #266

bytestack opened this issue May 24, 2019 · 1 comment

Comments

@bytestack
Copy link

Problem

The last two release train versions (6.6.18 and 6.6.17) are incomplete on maven central. According to the build pipeline there was a SocketException but the pipeline didn't fail.

image

Truncated log output:

> Task :client:syncVersionToMavenCentral
Trying to publish a new version to Bintray failed.
java.net.SocketTimeoutException: timeout
        at okio.Okio$4.newTimeoutException(Okio.java:232)
        at okio.AsyncTimeout.exit(AsyncTimeout.java:286)
        at okio.AsyncTimeout$2.read(AsyncTimeout.java:241)
        at okio.RealBufferedSource.indexOf(RealBufferedSource.java:358)
        at okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:230)
        at okhttp3.internal.http1.Http1Codec.readHeaderLine(Http1Codec.java:215)
        at okhttp3.internal.http1.Http1Codec.readResponseHeaders(Http1Codec.java:189)
        at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.java:88)

Proposal

  • Fix the build pipeline so that it fails when build artifacts could not be published to the maven central repository.

Links

@ampersand8
Copy link
Contributor

Yeah, it's strange that it was not marked as failed. Seems like the exit code 0 was given. IMHO this is a bug either in gradle or the nebula-publishing-plugin, as we only execute ./gradlew publish and expect to get exit code non-zero if anything fails.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants