Skip to content

Commit f2c09b1

Browse files
committed
chore; add pdf generator script #2
1 parent ad07f98 commit f2c09b1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.teamcity/builds/kotlinlang/buidTypes/PdfGenerator.kt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package builds.kotlinlang.buidTypes
22

3-
import BuildParams.DOKKA_TEMPLATES_VERSION
43
import builds.SCRIPT_PATH
54
import builds.kotlinlang.templates.DockerImageBuilder
65
import jetbrains.buildServer.configs.kotlin.BuildType
@@ -24,7 +23,7 @@ object PdfGenerator : BuildType({
2423
}
2524

2625
params {
27-
booleanParameter("with-pdf", "true")
26+
select("with-pdf", "false", options = listOf("true", "false"))
2827
}
2928

3029
steps {
@@ -43,7 +42,7 @@ object PdfGenerator : BuildType({
4342
}
4443
script {
4544
conditions {
46-
equals("param.with-pdf", "true")
45+
equals("with-pdf", "true")
4746
}
4847
name = "Generate PDF"
4948
//language=sh

0 commit comments

Comments
 (0)