package _Self buildTypes import jetbrains buildServer configs kotlin v

 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
package _Self.buildTypes
import jetbrains.buildServer.configs.kotlin.v2019_2.*
import jetbrains.buildServer.configs.kotlin.v2019_2.buildSteps.gradle
import jetbrains.buildServer.configs.kotlin.v2019_2.triggers.vcs
object Artifactory : BuildType({
name = "artifactory"
vcs {
root(AbsoluteId("PODD_CoreGit"))
}
steps {
gradle {
name = "assemble"
tasks = "clean assemble"
buildFile = ""
}
gradle {
name = "publish"
tasks = "publish"
buildFile = ""
gradleParams = "-PnexusUploadPassword=%nexus.password% -PnexusUploadLogin=nsuder -PnexusUrl=https://art.roteblume.dev/repository/pood-snapshots/"
}
}
triggers {
vcs {
branchFilter = """
+:<default>
+:-
""".trimIndent()
}
}
})