mirror of https://github.com/jruby-gradle/jem
Add support for installing into the Jenkisn repo
This commit is contained in:
parent
f07368868d
commit
24819f5abe
|
@ -3,3 +3,4 @@ build/
|
||||||
*.sw*
|
*.sw*
|
||||||
.idea/
|
.idea/
|
||||||
*.iml
|
*.iml
|
||||||
|
/bin/
|
||||||
|
|
|
@ -13,7 +13,11 @@ apply plugin: 'groovy'
|
||||||
apply plugin: 'maven'
|
apply plugin: 'maven'
|
||||||
apply plugin: 'com.jfrog.bintray'
|
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'
|
group = 'com.github.jruby-gradle'
|
||||||
description = 'A library for managing Ruby gems'
|
description = 'A library for managing Ruby gems'
|
||||||
defaultTasks 'check', 'assemble'
|
defaultTasks 'check', 'assemble'
|
||||||
|
|
|
@ -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'])
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue