Closed bdbogjoe closed 5 years ago
Required JARs are common-tools.jar
& server-tools.jar
, but not findable in https://download.jetbrains.com/teamcity-repository or in TeamCity achive.
No idea where found them, as workaround 😢.
Which branch and which modification do you try to build?
Ah, ok, I've understood the problem. You should place these 2 jars to the repository/lib/
. Jars could be found in TC server distribution in webapps/ROOT/WEB-INF/lib/
.
Jars could be found in TC server distribution in webapps/ROOT/WEB-INF/lib/.
Humm ... checking quickly this weekend in a TeamCity tar.gz download, common-tools.jar
(the first problem occues) seems not present.
More calmly this morning, currently on a TeamCity installation:
$ find webapps/ROOT/WEB-INF/lib/ | grep tools
webapps/ROOT/WEB-INF/lib/server-tools.jar
=> server-tools.jar
can be found.
But no common-tools.jar
seems exist in TeamCity directory.
I see in in 2017.1 (servers/2017.1/buildAgent/lib/common-tools.jar
) but it seems 2019.1 don't contain it. Probably this jar isn't needed now but I have to check it.
BTW you can use mvn tc-sdk:start
and a TC distribution will be downloaded and unpacked to servers
folder. Then you can just copy needed jar from downloaded location.
here my error :
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.4:install-file (org.jetbrains.teamcity:common-tools) on project repository: The specified file '/home/......./TeamCity.SonarQubePlugin/repository/lib/common-tools.jar' not exists -> [Help 1]
Seems one local jar is missing in repository folder