TeamCity plugin for Bazel: No agents satisfy the requirement bazel.path exists

Completed

I am trying to use https://github.com/JetBrains/teamcity-bazel-plugin version SNAPSHOT-201911121405. When I add Bazel build step to my TeamCity build configuration TC complains that no build agents satisfy the condition "bazel.path exists". I tried to defile and set bazel.path parameter on the build configuration level, but it does not resolve the problem.
Doc says that the plugin is looking for Bazel in the PATH (and I have it in the PATH by the time Bazel step is executed), but documentation never mention bazel.path at all.

Please advise how to make Bazel plugin work.

Thank you!

Konstantin

 

0
1 comment

Hi Kerman,

Make sure Bazel is in the PATH variable when the TeamCity agent process starts (and the agent's environment variable actually contains the due location).

0

Please sign in to leave a comment.