Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 72 lines (63 sloc) 2.17 kb
b64498f Andrew Bayer Initial Gradle build maybe.
abayer authored
1 buildscript {
b443182 Andrew Bayer Prepping for 0.1 release.
abayer authored
2 repositories {
3 maven {
62f4d25 Justin Ryan Initial checkin
quidryan authored
4 name 'jenkins-ci-plugins'
5 url("http://maven.jenkins-ci.org/content/repositories/releases")
b443182 Andrew Bayer Prepping for 0.1 release.
abayer authored
6 }
62f4d25 Justin Ryan Initial checkin
quidryan authored
7 mavenCentral()
b443182 Andrew Bayer Prepping for 0.1 release.
abayer authored
8 }
8eaa08d Justin Ryan Running plugin, which runs DSL
quidryan authored
9 dependencies { classpath('org.jenkins-ci.tools:gradle-jpi-plugin:0.4.0') }
62f4d25 Justin Ryan Initial checkin
quidryan authored
10 }
11 apply plugin: 'jpi'
12
13 repositories {
14 maven {
15 name 'jenkin-ci'
cfd2dad Justin Ryan Support an inline box to specify dsl scripts, close #21
quidryan authored
16 url 'http://maven.jenkins-ci.org/content/repositories/releases'
b443182 Andrew Bayer Prepping for 0.1 release.
abayer authored
17 }
62f4d25 Justin Ryan Initial checkin
quidryan authored
18 mavenCentral()
b64498f Andrew Bayer Initial Gradle build maybe.
abayer authored
19 }
20
9e75b5b Justin Ryan Exclude jenkins-modules for now, and add an example
quidryan authored
21 configurations.testCompile.exclude group: 'org.jenkins-ci.modules', module:'instance-identity'
8eaa08d Justin Ryan Running plugin, which runs DSL
quidryan authored
22 configurations.testCompile.exclude group: 'org.jenkins-ci.modules', module:'ssh-cli-auth'
9e75b5b Justin Ryan Exclude jenkins-modules for now, and add an example
quidryan authored
23
5a7fcfb Justin Ryan Correct my email
quidryan authored
24 dependencies {
bf54b24 Andrew Harmel-Law Fixed the build, and added XMLUnit so that the XML tests are not order d...
andrewharmellaw authored
25 //groovy localGroovy() // Can't guarantee 1.8.6
cfd2dad Justin Ryan Support an inline box to specify dsl scripts, close #21
quidryan authored
26 groovy 'org.codehaus.groovy:groovy-all:1.8.6'
27 testCompile 'org.spockframework:spock-core:0.6-groovy-1.8'
28 testCompile 'xmlunit:xmlunit:1.1'
29 testCompile 'junit:junit:4.10'
30 }
31
32 test {
33 useJUnit() // Causes "failed to create temp file to extract class from jar into"
62f4d25 Justin Ryan Initial checkin
quidryan authored
34 }
b443182 Andrew Bayer Prepping for 0.1 release.
abayer authored
35
b64498f Andrew Bayer Initial Gradle build maybe.
abayer authored
36 group = "org.jenkinsci.plugins"
9b1a68e Justin Ryan Clean up NodeDelegate and create some tests around the ideal DSL
quidryan authored
37 version = "1.0-alpha"
e605f3c Justin Ryan Manually incorporate Andrew's changes, which I couldn't merge from the r...
quidryan authored
38 description = "This plugin allows definition of Jobs via a DSL, using existing Jobs as a template."
f77988b Justin Ryan Adjust names to align with being forked into jenkins-ci
quidryan authored
39 //archivesBaseName = "job-dsl-plugin"
b64498f Andrew Bayer Initial Gradle build maybe.
abayer authored
40
41 jenkinsPlugin {
8eaa08d Justin Ryan Running plugin, which runs DSL
quidryan authored
42 coreVersion = '1.456'
62f4d25 Justin Ryan Initial checkin
quidryan authored
43 displayName = 'Job DSL'
f77988b Justin Ryan Adjust names to align with being forked into jenkins-ci
quidryan authored
44 url = 'https://wiki.jenkins-ci.org/display/JENKINS/Job+DSL+Plugin' // TODO create wiki page
45 gitHubUrl = 'https://github.com/JavaPosseRoundup/jenkins-job-dsl' // TODO Move to jenkin org
46 developers {
47 developer {
48 id 'quidryan'
49 name 'Justin Ryan'
5a7fcfb Justin Ryan Correct my email
quidryan authored
50 email 'jryan@netflix.com'
f77988b Justin Ryan Adjust names to align with being forked into jenkins-ci
quidryan authored
51 }
15369c9 Andrew Harmel-Law Added my details to the 'developers' block
andrewharmellaw authored
52 developer {
53 id 'andrewharmellaw'
54 name 'Andrew Harmel-Law'
55 email 'andrew@harmel-law.com'
56 }
f77988b Justin Ryan Adjust names to align with being forked into jenkins-ci
quidryan authored
57 }
b64498f Andrew Bayer Initial Gradle build maybe.
abayer authored
58 }
62f4d25 Justin Ryan Initial checkin
quidryan authored
59
cfd2dad Justin Ryan Support an inline box to specify dsl scripts, close #21
quidryan authored
60 task createWrapper(type: Wrapper) { gradleVersion = '1.0-rc-3' }
f028f9e Andrew Harmel-Law Fix for the bug GRADLE-1420
andrewharmellaw authored
61
cfd2dad Justin Ryan Support an inline box to specify dsl scripts, close #21
quidryan authored
62 task(showTestClasspath) << {
63 println "Classpath:"
64 println "${configurations.testCompile.resolvedConfiguration}"
65 println "${configurations.compile.allArtifacts}"
66 configurations.testCompile.files.each {
67 println it
68 }
69 println "${configurations.testCompile.allDependencies}"
70 println "${configurations.jenkinsTest.allArtifacts}"
71 }
Something went wrong with that request. Please try again.