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) }