JFrog Repository hanging?

The following URL is hanging. curl -v http://repo.jfrog.org/artifactory/gradle-plugins-snapshots/org/jfrog/buildinfo/build-info-extractor-gradle/2.1.x-SNAPSHOT/maven-metadata.xml My build scripts are now failing. Is this a known issue?

It seems related to the artifactory-publish plugin.

Could not resolve all dependencies for configuration ‘:classpath’.

Could not resolve org.jfrog.buildinfo:build-info-extractor-gradle:2.1.x-SNAPSHOT.

Required by:

:yt_engines:unspecified

Unable to load Maven meta-data from http://repo.jfrog.org/artifactory/gradle-plugins-snapshots/org/jfrog/buildinfo/build-info-extractor-gradle/2.1.x-SNAPSHOT/maven-metadata.xml.

Could not GET ‘http://repo.jfrog.org/artifactory/gradle-plugins-snapshots/org/jfrog/buildinfo/build-info-extractor-gradle/2.1.x-SNAPSHOT/maven-metadata.xml’. Received status code 502 from server: Bad Gateway

Ok, the repo is back. I guess I’d like to know how to prevent builds from failing in this sutuation. Is there a way to cache plugins?

Plugins are cached. You’re using a snapshot, which by definition requires periodic checking of the source.

Solutions:

  1. Install your own copy of Artifactory 2. Don’t use snapshots

Thanks.