mirror of
https://github.com/Dannecron/netology-devops-teamcity-example.git
synced 2025-12-25 15:22:35 +03:00
27 lines
534 B
Kotlin
27 lines
534 B
Kotlin
package Netology.buildTypes
|
|
|
|
import jetbrains.buildServer.configs.kotlin.v2019_2.*
|
|
|
|
object ExampleTeamcity_Build : BuildType({
|
|
id = AbsoluteId("ExampleTeamcity_Build")
|
|
name = "Build"
|
|
|
|
artifactRules = "target/*.jar"
|
|
|
|
vcs {
|
|
root(AbsoluteId("ExampleTeamcity_HttpsGithubComAragastmatbExampleTeamcityGitRefsHeadsMaster"))
|
|
}
|
|
|
|
steps {
|
|
maven {
|
|
goals = "clean test"
|
|
runnerArgs = "-Dmaven.test.failure.ignore=true"
|
|
}
|
|
}
|
|
|
|
triggers {
|
|
vcs {
|
|
}
|
|
}
|
|
})
|