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()
}
}
})