-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
48 lines (42 loc) · 1.22 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
plugins {
id "com.mkobit.jenkins.pipelines.shared-library"
id "jacoco"
id "java"
id "groovy"
id "org.jenkins-ci.jpi" apply false
}
// In this section you declare where to find the dependencies of your project
repositories {
// Use 'jcenter' for resolving your dependencies.
// You can declare any Maven/Ivy/file repository here.
maven { url 'http://bits.netbeans.org/maven2' }
maven { url 'https://repo.jenkins-ci.org/releases/' }
jcenter()
maven { url 'https://mvnrepository.com/artifact/' }
}
// In this section you declare the dependencies for your production and test code
dependencies {
// Jenkis Pipeline JUnit
testImplementation(group: 'junit', name: 'junit', version: '4.12')
}
test {
testLogging {
events "PASSED", "FAILED", "SKIPPED"
}
scanForTestClasses = true
}
integrationTest {
testLogging {
events "PASSED", "FAILED", "SKIPPED"
}
}
sharedLibrary {
coreVersion = "2.288"
testHarnessVersion = "2.72"
pipelineTestUnitVersion = "1.9"
pluginDependencies {
dependency("org.jenkins-ci.plugins","job-dsl","1.77")
dependency("org.jenkins-ci.plugins","cloudbees-folder","6.15")
dependency("org.jenkins-ci.plugins.workflow", "workflow-aggregator", "2.6")
}
}