-
Notifications
You must be signed in to change notification settings - Fork 9
/
pipelib.gradle
62 lines (53 loc) · 1.98 KB
/
pipelib.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/*
* Copyright (c) 2022. AppDynamics LLC and its affiliates.
* All rights reserved.
*
*/
buildscript {
ext {
artifactoryBaseUrl = "https://artifactory.bare.appdynamics.com/artifactory/"
artifactoryBuildRepos = ["maven-central",
"maven-releases",
"build-plugins",
"third-party-lib",
"atlassian-public"]
artifactoryPluginRepos = ["build-plugins",
"third-party-lib",
"gradle-plugins"]
}
repositories {
mavenLocal()
artifactoryPluginRepos.each { repo -> maven { url(artifactoryBaseUrl + repo) }
}
artifactoryBuildRepos.each { repo -> maven { url(artifactoryBaseUrl + repo) }
}
}
dependencies {
classpath 'com.appdynamics.gradle.plugins.pipeline:pipelinePlugin:3.6.209'
classpath 'com.appdynamics.gradle.plugins:publish-plugin:2.4.0'
}
}
apply plugin: com.appdynamics.gradle.plugins.pipeline.PipelinePlugin
apply plugin: com.appdynamics.gradle.plugins.publish.AppDynamicsPublishPlugin
group = 'com.appdynamics.eum'
appdVersion {
baseVersion = new File('lib/version.txt').text
}
// Specify CI/CD tasks in order and run `./gradlew pipeline` to generate new .teamcity folder.
pipeline {
teamcityParent = "EUM"
projectName = "Flutter Agent"
agentType = "BigSur"
buildTasks = ["build",
"upgradeFlutter",
"installPackages",
"analyze",
"runUnitTests",
"buildAndroid",
"buildiOS",
"generateDocs"]
integrationTestTasks = [":example:runInstallationTest",
":example:runIntegrationTestsAndroid",
":example:runIntegrationTestsiOS"]
param("env.JAVA_HOME", "/Library/Java/JavaVirtualMachines/jdk-17.0.2.jdk/Contents/Home")
}