Skip to content

Commit 0107986

Browse files
Quattro8zoobestik
authored andcommitted
KTL-2775 add docker requirement for the build agent
1 parent 0827462 commit 0107986

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.teamcity/documentation/builds/KotlinMultiplatform.kt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ object KotlinMultiplatform: BuildType ({
2020
script {
2121
name = "Build documentation"
2222
scriptContent = """
23+
#!/bin/bash
24+
set -e -x -u
25+
2326
docker run --rm -v %teamcity.build.checkoutDir%:/opt/sources \
2427
registry.jetbrains.team/p/writerside/builder/writerside-builder:latest \
2528
/bin/bash -c "export DISPLAY=:99 && Xvfb :99 & /opt/builder/bin/idea.sh helpbuilderinspect \
@@ -32,5 +35,7 @@ object KotlinMultiplatform: BuildType ({
3235
}
3336
}
3437

35-
38+
requirements {
39+
equals("container.engine","docker")
40+
}
3641
})

0 commit comments

Comments
 (0)