You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by ab...@apache.org on 2016/01/15 20:37:20 UTC

incubator-geode git commit: GEODE-781: Another nexus / Jenkins fix for uploading artifacts

Repository: incubator-geode
Updated Branches:
  refs/heads/feature/GEODE-781 69ead9c2b -> 09508b445


GEODE-781: Another nexus / Jenkins fix for uploading artifacts


Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/09508b44
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/09508b44
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/09508b44

Branch: refs/heads/feature/GEODE-781
Commit: 09508b445e1ddbe4614b951efa664676552c80b3
Parents: 69ead9c
Author: Anthony Baker <ab...@apache.org>
Authored: Fri Jan 15 11:36:34 2016 -0800
Committer: Anthony Baker <ab...@apache.org>
Committed: Fri Jan 15 11:36:34 2016 -0800

----------------------------------------------------------------------
 build.gradle | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/09508b44/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index 524fe00..e651fd9 100755
--- a/build.gradle
+++ b/build.gradle
@@ -534,10 +534,8 @@ subprojects {
   // from gradle.  However, we must match the repository id which the nexus plugin is not exposing.
   apply plugin: 'maven-publish-auth'
   afterEvaluate {
-    tasks.getByName('uploadArchives').repositories.mavenDeployer() {
-      if (project.nexus.snapshotRepositoryUrl) {
-        repository(id: 'apache.snapshots.https', url: project.nexus.snapshotRepositoryUrl)
-      }
+    tasks.getByName('uploadArchives').doFirst {
+      repositories.each { it.snapshotRepository.id = 'apache.snapshots.https' }
     }
   }