https://github.com/devops-school/teamcity-nant-helloworld
https://github.com/devops-school/teamcity-java-maven-helloworld
#Heading 1 ##Heading 2 ###Heading 3 ####Heading 4 #####Heading 5 ######Heading 6
Paragraph
| <Target Name="BeforeBuild"> | |
| <Copy SourceFiles="Web.config" DestinationFiles="Web.temp.config" | |
| OverwriteReadOnlyFiles="True" /> | |
| <TransformXml Source="Web.temp.config" Transform="Web.$(Configuration).config" | |
| Destination="Web.config" /> | |
| </Target> | |
| <Target Name="AfterBuild"> | |
| <Copy SourceFiles="Web.temp.config" DestinationFiles="Web.config" | |
| OverwriteReadOnlyFiles="True" /> | |
| <Delete Files="Web.temp.config" /> |
| <!-- the step to copy the config file first avoids a 'File is being used by another process' error --> | |
| <Target Name="BeforeBuild"> | |
| <Copy SourceFiles="Web.config" DestinationFiles="Web.temp.config" OverwriteReadOnlyFiles="True" /> | |
| <TransformXml Source="Web.temp.config" Transform="Web.$(Configuration).config" Destination="Web.config" /> | |
| </Target> | |
| <Target Name="AfterBuild"> | |
| <Copy SourceFiles="Web.temp.config" DestinationFiles="Web.config" OverwriteReadOnlyFiles="True" /> | |
| <Delete Files="Web.temp.config" /> | |
| </Target> |
| <Target Name="BeforeBuild"> | |
| <Copy SourceFiles="Web.config" DestinationFiles="Web.temp.config" | |
| OverwriteReadOnlyFiles="True" /> | |
| <TransformXml Source="Web.temp.config" Transform="Web.$(Configuration).config" | |
| Destination="Web.config" /> | |
| </Target> | |
| <Target Name="AfterBuild"> | |
| <Copy SourceFiles="Web.temp.config" DestinationFiles="Web.config" | |
| OverwriteReadOnlyFiles="True" /> | |
| <Delete Files="Web.temp.config" /> |
| - Import WebApplication.targets in your build script like so: | |
| <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" /> | |
| - Execute the TransformXml build task in your build script target: | |
| <Target Name="MyBuildScriptTarget"> | |
| <TransformXml Source="Web.config" Transform="Web.$(Configuration).config" Destination="Web.config" /> | |
| ...other build tasks... | |
| </Target> | |
| - Command | |
| MSBuild.exe PATH_TO_PROJ.csproj /p:DeployOnBuild=true /p:PublishProfile=PUBLISH_TARGET /p:Configuration=Release |
| import org.openqa.selenium.WebDriver; | |
| import org.openqa.selenium.chrome.ChromeDriver; | |
| /** | |
| * @author Nils Schuette via frontendtest.org | |
| */ | |
| public class RunTest { | |
| static WebDriver webDriver; | |
| /** | |
| * @param args |