mirror of
https://github.com/corda/corda.git
synced 2025-01-17 02:09:50 +00:00
Add artifactoryPublish into travis ci build
This commit is contained in:
parent
f4219caa28
commit
fda597ed2b
@ -2,7 +2,11 @@ language: cpp
|
||||
env:
|
||||
global:
|
||||
- secure: Pe7OLUvdk3DeTAShyaYsdAXBcnjdNOrtfTPt1mCP5+JKBUw3z0n7BpTgATVRBmkn866pDqxL0N3+jBgjKUpEpqOj23bTB2AeDdIzlYkFGvTd3GQQV1lMFn16I9LOgWJhkfICTJ1rIYiNf8xSkJoeKGB7eGUM0KGsTvelFfsaGVc=
|
||||
script: ./test/ci.sh
|
||||
- secure: OWgsHP9ijb7oLpZVJqlovccT+OO3uAWEZxVdT/rNFS1riGoTSwi1ptlHUw/lEZY1Lw1dEaSW6kfc2rqpTgsHOFQpcdJeK8E29TLn1x25kYaGzo6JY2wWi5q4I3IMRRcFEharXlucJUO6yZWqhDXZTD4J8yf+wXt4blSRrAXil50=
|
||||
- secure: T19BYOl5UB5vTDD3Q2np0iHroPm1elHhCW7AOkUPnjXE+mwMTWQlRm1LxbZ+tv1dykUSlhBwdLP7dNWRzWa1JbAY6Y2SbMmwfdryZTBaELcXWsTcGOP80pKx1ruY30mQfyguVukfIZj8qvRSIMwXCYm+Do+XffC8fmqXSTBRulA=
|
||||
|
||||
install: ./gradlew artifactoryPublish
|
||||
script: "./test/ci.sh"
|
||||
after_success:
|
||||
- make javadoc
|
||||
- .utility/push-javadoc-to-gh-pages.sh
|
||||
- ".utility/push-javadoc-to-gh-pages.sh"
|
||||
|
51
build.gradle
51
build.gradle
@ -4,36 +4,14 @@ buildscript {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
classpath 'org.jfrog.buildinfo:build-info-extractor-gradle:3.0.0'
|
||||
classpath 'org.jfrog.buildinfo:build-info-extractor-gradle:2.2.4'
|
||||
}
|
||||
}
|
||||
|
||||
apply plugin: 'native-component'
|
||||
apply plugin: 'ivy-publish'
|
||||
apply plugin: 'com.jfrog.artifactory'
|
||||
apply plugin: 'java'
|
||||
|
||||
artifactory {
|
||||
contextUrl = "http://oss.jfrog.org"
|
||||
|
||||
resolve {
|
||||
repository {
|
||||
repoKey = 'libs-releases'
|
||||
}
|
||||
}
|
||||
|
||||
publish {
|
||||
repository {
|
||||
repoKey = 'oss-snapshot-local'
|
||||
username = System.env.BINTRAY_USER
|
||||
password = System.env.BINTRAY_API_KEY
|
||||
}
|
||||
|
||||
defaults {
|
||||
//publications('linux-x86_64')
|
||||
}
|
||||
}
|
||||
}
|
||||
apply plugin: 'artifactory-publish'
|
||||
|
||||
model {
|
||||
platforms {
|
||||
@ -108,6 +86,31 @@ publishing {
|
||||
}
|
||||
}
|
||||
|
||||
artifactory {
|
||||
contextUrl = "http://oss.jfrog.org"
|
||||
|
||||
resolve {
|
||||
repository {
|
||||
repoKey = 'libs-releases'
|
||||
}
|
||||
}
|
||||
|
||||
publish {
|
||||
repository {
|
||||
repoKey = 'oss-snapshot-local'
|
||||
username = System.env.BINTRAY_USER
|
||||
password = System.env.BINTRAY_API_KEY
|
||||
ivy {
|
||||
ivyLayout = "[organisation]/[module]/[revision]/ivy-[revision].xml"
|
||||
}
|
||||
}
|
||||
|
||||
defaults {
|
||||
publications 'linux-x86_64'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
task wrapper(type: Wrapper) {
|
||||
gradleVersion = '2.0'
|
||||
}
|
Loading…
Reference in New Issue
Block a user