Add support for installing into the Jenkisn repo

This commit is contained in:
R. Tyler Croy 2015-11-01 16:01:33 -08:00
parent f07368868d
commit 24819f5abe
No known key found for this signature in database
GPG Key ID: 1426C7DC3F51E16F
3 changed files with 25 additions and 1 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@ build/
*.sw*
.idea/
*.iml
/bin/

View File

@ -13,7 +13,11 @@ apply plugin: 'groovy'
apply plugin: 'maven'
apply plugin: 'com.jfrog.bintray'
version = '0.3.0'
if (System.env['Jenkins.Repository']) {
apply from: 'gradle/integration.gradle'
}
version = '0.3.1'
group = 'com.github.jruby-gradle'
description = 'A library for managing Ruby gems'
defaultTasks 'check', 'assemble'

19
gradle/integration.gradle Normal file
View File

@ -0,0 +1,19 @@
/*
* Handle installing our artifacts into the Jenkins local repository for integration testing
* <https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+Maven+Repository+Server>
*/
repositories {
maven {
url System.env['Jenkins.Repository']
}
}
uploadArchives {
repositories {
mavenDeployer {
repository(url: System.env['Jenkins.Repository'])
}
}
}