Skip to content

Instantly share code, notes, and snippets.

@cholick
Created March 3, 2013 18:35
Show Gist options
  • Save cholick/5077520 to your computer and use it in GitHub Desktop.
Save cholick/5077520 to your computer and use it in GitHub Desktop.
TeamCity configuration for an IntelliJ plugin building and testing against two versions of the SDK
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE project SYSTEM "../project-config.dtd">
<project id="project2">
<parameters />
<build-type id="bt4" name="IntelliJ 11.1 (IDEA IC 117-1054)">
<description />
<settings>
<parameters />
<build-runners>
<runner id="RUNNER_1" name="" type="JPS">
<parameters>
<param name="iprInfoRunParam"><![CDATA[<iprInfo path-to-ipr="" should-load-iml="true">
<Library name="groovy-1.8.9" path-to-library="%system.global.library.groovy.1.8.9.path%" is-used="true">
<Pattern value="*.jar" />
</Library>
<IdeaJdk name="$idea_sdk_name$" path-to-library="%env.JAVA_HOME%" is-used="true" path-to-jdk="%env.JAVA_HOME%" path-to-idea="/Applications/IntelliJ IDEA 11.1 CE.app">
<Pattern value="jre/lib/*.jar" />
<Pattern value="lib/tools.jar" />
<IdeaPattern value="lib/*.jar" />
</IdeaJdk>
<PathVariable name="idea_sdk" value="/Applications/IntelliJ IDEA 11.1 CE.app" />
<PathVariable name="idea_sdk_name" value="IDEA IC-117.1054" />
</iprInfo>]]></param>
<param name="runConfigurations" value="test-app" />
<param name="teamcity.coverage.emma.include.source" value="true" />
<param name="teamcity.coverage.emma.instr.parameters" value="-ix -*Test*" />
<param name="teamcity.coverage.idea.includePatterns" value="*" />
<param name="teamcity.step.mode" value="default" />
</parameters>
</runner>
</build-runners>
<vcs-settings checkout-mode="ON_SERVER" labeling-type="NONE" labeling-pattern="build-%system.build.number%">
<vcs-entry-ref root-id="1" set-label="false" />
</vcs-settings>
<requirements />
<build-triggers />
<cleanup />
</settings>
</build-type>
<build-type id="bt2" name="IntelliJ 12 (IDEA IC-123.169)">
<description />
<settings>
<parameters />
<build-runners>
<runner id="RUNNER_1" name="" type="JPS">
<parameters>
<param name="iprInfoRunParam"><![CDATA[<iprInfo path-to-ipr="" should-load-iml="true">
<Library name="groovy-1.8.9" path-to-library="%system.global.library.groovy.1.8.9.path%" is-used="true">
<Pattern value="*.jar" />
</Library>
<IdeaJdk name="$idea_sdk_name$" path-to-library="%env.JAVA_HOME%" is-used="true" path-to-jdk="%env.JAVA_HOME%" path-to-idea="/Applications/IntelliJ IDEA 12 CE.app">
<Pattern value="jre/lib/*.jar" />
<Pattern value="lib/tools.jar" />
<IdeaPattern value="lib/*.jar" />
</IdeaJdk>
<PathVariable name="idea_sdk" value="/Applications/IntelliJ IDEA 12 CE.app" />
<PathVariable name="idea_sdk_name" value="IDEA IC-123.169" />
</iprInfo>]]></param>
<param name="runConfigurations" value="test-app" />
<param name="teamcity.coverage.emma.include.source" value="true" />
<param name="teamcity.coverage.emma.instr.parameters" value="-ix -*Test*" />
<param name="teamcity.coverage.idea.includePatterns" value="*" />
<param name="teamcity.step.mode" value="default" />
</parameters>
</runner>
</build-runners>
<vcs-settings checkout-mode="ON_SERVER" labeling-type="NONE" labeling-pattern="build-%system.build.number%">
<vcs-entry-ref root-id="1" set-label="false" />
</vcs-settings>
<requirements />
<build-triggers />
<cleanup />
</settings>
</build-type>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment