swisscom / open-service-broker

Open Service Broker is an implementation of the "Open Service Broker API" based on Spring Boot & Groovy. It enables platforms such as Cloud Foundry & Kubernetes to provision and manage services.
Apache License 2.0
70 stars 25 forks source link

Missing artifacts on maven central #266

Open bytestack opened 5 years ago

bytestack commented 5 years ago

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 SocketExceptionbut 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

Links

ampersand8 commented 5 years ago

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.