One of my TeamCity v7.0 build projects relies on using a diff between the current development branch and the master branch to determine what needs to be run. I've written a small script that uses something like:
git diff origin/master..origin/QA --name-only --diff-filter=AM | DoSomethingWithThoseFiles
Unfortunately, the build log indicates that
it1352
7
2019-05-17
I'm new to artifactory and teamcity. I tried using the gradle-artifactory plugin. but It is throwing me the following error.. can anybody pls tell what this error is about and help me with some solution.
Error is
Caused by: org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object 'org.jfrog.gradle.plugin.artifactory.dsl.
it1352
0
2020-09-07
I am running my TeamCity 7 server and agent on MacOS. My repo is on github. I use ssh and I know that the authentication is correctly configured, because the test is successful.
The build works fine when I use VCS Checkout Mode "Automatically on server", however when I use VCS Checkout mode "Automatically on agent" I get this error.
[13:40:35][U
it1352
211
2019-05-18
We have a TeamCity 7.1.5 and our Git Repositories are hosted on a TFS 2017. We wanted to switch to SSH authentication with a Public/Private key. So I have created an openSSH keypair and added the public key on my TFS user. On my local machine this works as expected.
But when I want to configure my TeamCity VCS Root to use SSH as well, I always get
it1352
8
2019-05-18
I use the TeamCity (7.0) REST API to allow developers to trigger custom builds. I add the build to the queue like this:
http://teamcity/httpAuth/action.html?add2Queue=[buildTypeId]&name=[propName]&value=[propValue]
My question is how I best can track the progress of the build just triggered. The REST call does not return any info about bu
it1352
9
2019-05-14
I am using commandline build step in teamcity to run the testcomplete tests via a batch file.The tests are running fine,but I do not see any information regarding the passed/failed tests in teamcity. Basically TestComplete generates some log files after running the tests.But I am not sure how to get these files to teamcity and display it as test re
it1352
8
2019-05-17
I have a Gradle task to upload jacoco coverage to TeamCity (following TeamCity documentation here: Importing JaCoCo coverage data to TeamCity):
task uploadJacocoTestReport {
doLast {
println "##teamcity[jacocoReport dataPath='build/jacoco/jacocoTest.exec' "
"includes='com.mypackage.*' "
"classpath='b
it1352
0
2020-11-20
What's the best way to move a single TeamCity build configuration from one server to another?
I have a local instance of TeamCity that I test builds on. Then when the build is sufficiently mature, I manually create it (eyeball-copy) on our main TeamCity server.
Is there an Export & Import feature that will do this for me?
Solution Unfortun
it1352
5
2019-05-09
Is there a way to define teamcity['build.number'] property from command line? I tried -Pteamcity.build.number=1 but it didn't work.
I have a build.gradle file with this task in it:
distTar {
baseName = project.name '.'
project.version '.'
System.getProperty("system.rnf.brach_name") '.'
teamci
it1352
9
2019-05-14
I realize that TeamCity must be a bridge between YouTrack and SVN, but I need none of the Teamcity functionality. I just want to issue Youtrack commands via commit comments like here:
http://confluence.jetbrains.net/display/YTD3/Executing Commands from Comment to VCS Commit
i.e. a commit message
test #ld-1 fixed
Would mark the issue ld-1 as fi
it1352
2
2020-07-15