Skip to content

Commit

Permalink
(build) Change casing of requirement
Browse files Browse the repository at this point in the history
Turns out that the comparison that is done on TeamCity is
case-sensitive, so with the previous commit the Agent Requirement was
still being ignored.

This commit switches from docker to Docker.
  • Loading branch information
gep13 committed May 29, 2024
1 parent 90daed9 commit 635eb60
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .teamcity/settings.kts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ object Chocolatey : BuildType({

requirements {
doesNotExist("docker.server.version")
doesNotContain("teamcity.agent.name", "docker")
doesNotContain("teamcity.agent.name", "Docker")
}
})

Expand Down Expand Up @@ -151,7 +151,7 @@ object ChocolateySchd : BuildType({

requirements {
doesNotExist("docker.server.version")
doesNotContain("teamcity.agent.name", "docker")
doesNotContain("teamcity.agent.name", "Docker")
}
})

Expand Down Expand Up @@ -218,7 +218,7 @@ object ChocolateyQA : BuildType({

requirements {
doesNotExist("docker.server.version")
doesNotContain("teamcity.agent.name", "docker")
doesNotContain("teamcity.agent.name", "Docker")
}
})

Expand Down Expand Up @@ -289,7 +289,7 @@ object ChocolateySign : BuildType({

requirements {
doesNotExist("docker.server.version")
doesNotContain("teamcity.agent.name", "docker")
doesNotContain("teamcity.agent.name", "Docker")
}
})

Expand Down Expand Up @@ -344,7 +344,7 @@ object ChocolateyDockerWin : BuildType({
requirements {
contains("docker.server.osType", "windows")
exists("docker.server.version")
contains("teamcity.agent.name", "docker")
contains("teamcity.agent.name", "Docker")
}
})

Expand Down Expand Up @@ -457,6 +457,6 @@ object ChocolateyPosix : BuildType({
requirements {
contains("docker.server.osType", "linux")
exists("docker.server.version")
contains("teamcity.agent.name", "docker")
contains("teamcity.agent.name", "Docker")
}
})

0 comments on commit 635eb60

Please sign in to comment.