DEVOPS-663 Publishing of performance test artefacts (#769)

* Enable publishing of perftest cordapps

* Enable publishing of jmeter-corda as capsule jar

* Enable publishing of jmeter-corda as capsule jar

* jar name

* Correct module name to publish
This commit is contained in:
Christian Sailer 2018-04-30 14:41:55 +01:00 committed by GitHub
parent 72ba01669a
commit e62d1f12c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 21 additions and 3 deletions

View File

@ -350,7 +350,7 @@ bintrayConfig {
projectUrl = 'https://github.com/corda/corda'
gpgSign = true
gpgPassphrase = System.getenv('CORDA_BINTRAY_GPG_PASSPHRASE')
publications = ['corda-jfx', 'corda-mock', 'corda-rpc', 'corda-core', 'corda', 'corda-finance', 'corda-node', 'corda-node-api', 'corda-test-common', 'corda-test-utils', 'corda-jackson', 'corda-verifier', 'corda-webserver-impl', 'corda-webserver', 'corda-node-driver', 'corda-confidential-identities', 'doorman', 'doorman-hsm', 'corda-shell', 'corda-bridgeserver']
publications = ['corda-jfx', 'corda-mock', 'corda-rpc', 'corda-core', 'corda', 'corda-finance', 'corda-node', 'corda-node-api', 'corda-test-common', 'corda-test-utils', 'corda-jackson', 'corda-verifier', 'corda-webserver-impl', 'corda-webserver', 'corda-node-driver', 'corda-confidential-identities', 'doorman', 'doorman-hsm', 'corda-shell', 'corda-bridgeserver', 'corda-ptflows', 'jmeter-corda']
license {
name = 'Apache-2.0'
url = 'https://www.apache.org/licenses/LICENSE-2.0'

View File

@ -16,7 +16,7 @@ apply plugin: CanonicalizerPlugin
apply plugin: 'net.corda.plugins.publish-utils'
apply plugin: 'net.corda.plugins.quasar-utils'
apply plugin: 'net.corda.plugins.cordapp'
//apply plugin: 'com.jfrog.artifactory'
apply plugin: 'com.jfrog.artifactory'
description 'Corda performance test modules'

View File

@ -9,11 +9,18 @@
*/
apply plugin: 'kotlin'
apply plugin: 'net.corda.plugins.publish-utils'
apply plugin: 'us.kirchmeier.capsule'
apply plugin: 'application'
apply plugin: 'net.corda.plugins.publish-utils'
apply plugin: 'com.jfrog.artifactory'
mainClassName = 'com.r3.corda.jmeter.Launcher'
configurations{
runtimeArtifacts
}
dependencies {
compile project(':client:rpc')
compile project(':perftestcordapp')
@ -52,7 +59,6 @@ dependencies {
//For Azure SQL and SQL Server support in persistence
runtime group: 'com.microsoft.sqlserver', name: 'mssql-jdbc', version: '6.2.1.jre8'
testCompile project(':test-utils')
testCompile project(':node-driver')
}
@ -160,3 +166,15 @@ task buildJMeterJAR(type: FatCapsule, dependsOn: 'jar') {
jvmArgs = ['-Xms512m', '-Xmx512m', '-XX:+UseG1GC']
}
}
artifacts {
runtimeArtifacts buildJMeterJAR
publish buildJMeterJAR {
classifier ""
}
}
publish {
disableDefaultJar = true
name 'jmeter-corda'
}