From 6467b2c1d06f88a50d31b4963dc850f719a27469 Mon Sep 17 00:00:00 2001 From: Chris Norman Date: Mon, 10 Jul 2017 13:42:20 -0400 Subject: [PATCH] Publish every snapshot build to artifactory. --- .travis.yml | 3 +++ build.gradle | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 011c90566..51f9f44c7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,3 +17,6 @@ before_install: script: ./gradlew jacocoTestReport after_success: - ./gradlew coveralls + - if [ "$TRAVIS_BRANCH" == "master" ]; then + ./gradlew uploadArchives; + fi diff --git a/build.gradle b/build.gradle index 216423f40..cf3b7625a 100644 --- a/build.gradle +++ b/build.gradle @@ -27,7 +27,7 @@ repositories { mavenLocal() mavenCentral() maven { - url "https://artifactory.broadinstitute.org/artifactory/libs-snapshot/" //for htsjdk snapshots + url "https://broadinstitute.jfrog.io/broadinstitute/libs-snapshot/" //for htsjdk snapshots } } @@ -285,7 +285,7 @@ uploadArchives { authentication(userName: project.findProperty("sonatypeUsername"), password: project.findProperty("sonatypePassword")) } - snapshotRepository(url: "https://artifactory.broadinstitute.org/artifactory/libs-snapshot-local/") { + snapshotRepository(url: "https://broadinstitute.jfrog.io/broadinstitute/libs-snapshot-local/") { authentication(userName: System.env.ARTIFACTORY_USERNAME, password: System.env.ARTIFACTORY_PASSWORD) }