Skip to content

Instantly share code, notes, and snippets.

@elevenetc
elevenetc / gist:9890290
Created March 31, 2014 11:26
TeamCity Gradle props
##tc-property name='teamcity.buildType.id' value='SampleProject_Build'
##tc-property name='teamcity.version' value='8.1.1 (build 29939)'
##tc-property name='teamcity.buildConfName' value='Build'
##tc-property name='teamcity.agent.dotnet.agent_url' value='http://localhost:9090/RPC2'
##tc-property name='teamcity.build.id' value='22'
##tc-property name='agent.ownPort' value='9090'
##tc-property name='agent.name' value='Default Agent'
##tc-property name='build.number' value='22'
##tc-property name='teamcity.runner.properties.file' value='/home/ci/Dev Tools/TeamCity/buildAgent/temp/buildTmp/teamcity.runner8436789339269480560.properties'
##tc-property name='teamcity.build.changedFiles.file' value='/home/ci/Dev Tools/TeamCity/buildAgent/temp/buildTmp/changedFiles3824722181500470933.txt'
@elevenetc
elevenetc / versions
Created March 31, 2014 11:24
Gradle naming class
class Versions{
public final String projectName
public final String nameVersion
public final int codeVersion
Versions(String projectName, String nameVersion, int codeVersion) {
this.codeVersion = codeVersion
this.nameVersion = nameVersion
this.projectName = projectName