ghale / gradle-jenkins-plugin

Gradle plugin to programmatically configure Jenkins jobs.
123 stars 42 forks source link

Releases 1.3.x not available at central repo #72

Closed tschulte closed 8 years ago

tschulte commented 8 years ago

The releases 1.3.x are not available at https://plugins.gradle.org/m2/. Only the releases up to 1.2.3 are available. Yesterday 1.3.2 was available, but somehow it is gone. This might be an issue with bintray.

rizvfe00 commented 8 years ago

1.3x versions are there now but 1.4x versions are not on bintray. You can add the repository job-core-dsl (the missing dependency) publishes to.

buildscript {
  repositories {
    maven { url 'http://maven.jenkins-ci.org:8081/content/repositories/releases' }
  }
}
tschulte commented 8 years ago

https://jcenter.bintray.com/com/terrafolio/gradle-jenkins-plugin/ still only contains the versions up to 1.2.3.

The repository http://maven.jenkins-ci.org:8081/content/repositories/releases seems not reachable.

tschulte commented 8 years ago

The problem is the following (see https://groups.google.com/forum/#!msg/sonarqube/AmJsTCycWvM/dfyyIJQyEgAJ)

https://plugins.gradle.org/m2/ does redirect to multiple other repositories (at their discretion). We are using Nexus as proxy, and we had to "disable repository checking".

I thought, https://plugins.gradle.org/m2 would only redirect to jcenter, since https://plugins.gradle.org/m2/com/terrafolio/gradle-jenkins-plugin/ redirects to jcenter, not listing versions 1.3.x, but https://plugins.gradle.org/m2/com/terrafolio/gradle-jenkins-plugin/1.3.2/gradle-jenkins-plugin-1.3.2.jar works.