Skip to content

Commit a87bc4c

Browse files
authored
Publish every snapshot build to artifactory. (broadinstitute#861)
1 parent 34e388d commit a87bc4c

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.travis.yml

+3
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,6 @@ before_install:
1717
script: ./gradlew jacocoTestReport
1818
after_success:
1919
- ./gradlew coveralls
20+
- if [ "$TRAVIS_BRANCH" == "master" ]; then
21+
./gradlew uploadArchives;
22+
fi

build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ repositories {
2727
mavenLocal()
2828
mavenCentral()
2929
maven {
30-
url "https://artifactory.broadinstitute.org/artifactory/libs-snapshot/" //for htsjdk snapshots
30+
url "https://broadinstitute.jfrog.io/broadinstitute/libs-snapshot/" //for htsjdk snapshots
3131
}
3232
}
3333

@@ -285,7 +285,7 @@ uploadArchives {
285285
authentication(userName: project.findProperty("sonatypeUsername"), password: project.findProperty("sonatypePassword"))
286286
}
287287

288-
snapshotRepository(url: "https://artifactory.broadinstitute.org/artifactory/libs-snapshot-local/") {
288+
snapshotRepository(url: "https://broadinstitute.jfrog.io/broadinstitute/libs-snapshot-local/") {
289289
authentication(userName: System.env.ARTIFACTORY_USERNAME, password: System.env.ARTIFACTORY_PASSWORD)
290290
}
291291

0 commit comments

Comments
 (0)