-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.kts
55 lines (50 loc) · 2.38 KB
/
setup.kts
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
package _Self.buildTypes
import jetbrains.buildServer.configs.kotlin.*
import jetbrains.buildServer.configs.kotlin.buildFeatures.perfmon
import jetbrains.buildServer.configs.kotlin.buildSteps.DotnetMsBuildStep
import jetbrains.buildServer.configs.kotlin.buildSteps.dotnetMsBuild
import jetbrains.buildServer.configs.kotlin.buildSteps.dotnetPublish
import jetbrains.buildServer.configs.kotlin.buildSteps.nuGetInstaller
import jetbrains.buildServer.configs.kotlin.triggers.vcs
object Build : BuildType({
name = "Build"
artifactRules = """test-and-taste-developer-exercise\Test-Taste-Console-Application\** => Artifact"""
vcs {
root(HttpsGithubComDeep286TestTasteConsoleApplicationGitRefsHeadsMain)
}
steps {
nuGetInstaller {
name = "NuGet Install"
toolPath = "%teamcity.tool.NuGet.CommandLine.6.1.0%"
projects = "test-and-taste-developer-exercise/Test-Taste-Console-Application.sln"
updatePackages = updateParams {
}
}
dotnetMsBuild {
name = "build test-and-taste-developer-exercise/Test-Taste-Console-Application/Test-Taste-Console-Application.sln"
projects = "test-and-taste-developer-exercise/Test-Taste-Console-Application/Test-Taste-Console-Application.sln"
version = DotnetMsBuildStep.MSBuildVersion.CrossPlatform
param("dotNetCoverage.dotCover.home.path", "%teamcity.tool.JetBrains.dotCover.CommandLineTools.DEFAULT%")
}
dotnetMsBuild {
name = "build test-and-taste-developer-exercise/Test-Taste-Console-Application.sln"
projects = "test-and-taste-developer-exercise/Test-Taste-Console-Application.sln"
version = DotnetMsBuildStep.MSBuildVersion.CrossPlatform
param("dotNetCoverage.dotCover.home.path", "%teamcity.tool.JetBrains.dotCover.CommandLineTools.DEFAULT%")
}
dotnetPublish {
name = "create installer"
id = "create_installer"
projects = "test-and-taste-developer-exercise/Test-Taste-Console-Application.sln test-and-taste-developer-exercise/Test-Taste-Console-Application/Test-Taste-Console-Application.csproj"
param("dotNetCoverage.dotCover.home.path", "%teamcity.tool.JetBrains.dotCover.CommandLineTools.DEFAULT%")
}
}
triggers {
vcs {
}
}
features {
perfmon {
}
}
})