-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
36 lines (22 loc) · 906 Bytes
/
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
buildscript {
ext.configureBuildscript = { c -> buildscript c }
apply from: 'buildscript.gradle'
dependencies {
classpath 'com.braintribe.devrock.cicd:devrock-cicd-steps-plugin:1.0+'
classpath 'com.braintribe.devrock.cicd:devrock-cicd-steps:1.0+'
classpath 'com.braintribe.devrock.cicd:github-notification:1.0+'
}
}
apply plugin: 'devrock-cicd-steps'
import devrock.cicd.model.api.*
defaultTasks 'build-artifacts'
steps {
step InitializeExchange.T
step EnrichExchangeContext.T
step AnalyzeCodebase.T
step BuildArtifacts.T, { equip { handler = { ant it.folderName, 'install' } } }
step CheckLinking.T, { equip { handler = { ant it.folderName, 'check-linking' } } }
step RunTests.T, { equip { handler = { ant it.folderName, 'test' } } }
step RaiseAndMergeArtifacts.T // commit + merge
step PublishArtifacts.T
}