File tree Expand file tree Collapse file tree 1 file changed +37
-1
lines changed
Expand file tree Collapse file tree 1 file changed +37
-1
lines changed Original file line number Diff line number Diff line change 11package IMODCollector
22
33import IMODCollector.buildTypes.*
4- import jetbrains.buildServer.configs.kotlin.*
4+ import jetbrains.buildServer.configs.kotlin.BuildType
5+
56import jetbrains.buildServer.configs.kotlin.Project
7+ import jetbrains.buildServer.configs.kotlin.buildSteps.script
68
79object Project : Project({
810 id("IMODCollector ")
911 name = " iMOD_Collector"
1012 description = " Collect iMOD6 coupled components + coupler into a single package"
1113 buildType(IMODCollector_X64development )
14+ buildType(Ribasim_binaries )
1215})
16+
17+ object Ribasim_binaries : BuildType({
18+ name = " Ribasim binaries"
19+ description = " Download Ribasim release binaries"
20+
21+ artifactRules = """
22+ ribasim/* => ribasim.zip!
23+ """ .trimIndent()
24+
25+ params {
26+ select("RIBASIM_Platform ", "",
27+ options = listOf("windows", "linux"))
28+ select("RIBASIM_Version ", "",
29+ options = listOf("v2025.11.0", "v2024.4.0", "v2024.3.0", "v2024.2.0"))
30+ }
31+
32+ vcs {
33+ }
34+
35+ steps {
36+ script {
37+ name = " Download Ribasim"
38+ scriptContent = """
39+ wget https://github.com/Deltares/Ribasim/releases/download/%RIBASIM_Version%/ribasim_%RIBASIM_Platform%.zip -O ribasim.zip
40+ unzip "ribasim.zip"
41+ """ .trimIndent()
42+ }
43+ }
44+
45+ requirements {
46+ equals("teamcity.agent.jvm.os.name", "Linux ")
47+ }
48+ })
You can’t perform that action at this time.
0 commit comments