File tree Expand file tree Collapse file tree 1 file changed +2
-17
lines changed
.teamcity/builds/kotlinlang/buidTypes Expand file tree Collapse file tree 1 file changed +2
-17
lines changed Original file line number Diff line number Diff line change 1
1
package builds.kotlinlang.buidTypes
2
2
3
3
import builds.kotlinlang.templates.DockerImageBuilder
4
+ import builds.scriptDistAnalyze
4
5
import jetbrains.buildServer.configs.kotlin.BuildType
5
6
import jetbrains.buildServer.configs.kotlin.FailureAction
6
7
import jetbrains.buildServer.configs.kotlin.buildSteps.ScriptBuildStep
@@ -74,23 +75,7 @@ object BuildSitePages : BuildType({
74
75
cp -fR out/_next dist/_next/
75
76
""" .trimIndent()
76
77
}
77
- script {
78
- name = " Build Sitemap"
79
-
80
- conditions {
81
- equals("teamcity.build.branch.is_default", "true")
82
- }
83
-
84
- scriptContent = """
85
- #!/bin/bash
86
- pip install -r requirements.txt
87
- python kotlin-website.py sitemap
88
- """ .trimIndent()
89
-
90
- dockerImage = " %dep.Kotlin_KotlinSites_Builds_KotlinlangOrg_BuildPythonContainer.kotlin-website-image%"
91
- dockerImagePlatform = ScriptBuildStep .ImagePlatform .Linux
92
- dockerPull = true
93
- }
78
+ scriptDistAnalyze {}
94
79
script {
95
80
name = " Update build status"
96
81
scriptContent = """
You can’t perform that action at this time.
0 commit comments