geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kl...@apache.org
Subject [13/20] incubator-geode git commit: GEODE-781: Another nexus / Jenkins fix for uploading artifacts
Date Tue, 19 Jan 2016 18:30:01 GMT
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/ed38c5d0
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/ed38c5d0
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/ed38c5d0

Branch: refs/heads/feature/GEODE-715
Commit: ed38c5d0cf78be902f398d45695d15b3f9ac7d9f
Parents: 0f651c0
Author: Anthony Baker <abaker@apache.org>
Authored: Fri Jan 15 11:36:34 2016 -0800
Committer: Anthony Baker <abaker@apache.org>
Committed: Sat Jan 16 09:38:02 2016 -0800

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


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/ed38c5d0/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' }
     }
   }
 


Mime
View raw message