vrijdag 4 november 2016

git tutorial

https://www.atlassian.com/git/tutorials/comparing-workflows/centralized-workflow

simian output in jenkins build server




   <property name="simian.file" value=""/>  
 <property name="path.simian" value="c:\projecten\buildserver\simian-2.4.0\bin\simian-2.4.0.exe"/> 
  <target name = "simian" failonerror="false">
   <echo message="START DRY CHECK: " />
  <exec program="${path.simian}" verbose="true"  output="C:\projecten\buildserver\buildoutput\build\evbox-simian.xml">
   <arg line="-threshold=10"/>
   <arg line="-formatter=xml"/> 
   <arg line="-failOnDuplication-"/>
   <arg line="C:\projecten\evbox-backoffice\backoffice\**\*.cs"/>
  </exec>
 
   <echo message="REMOVING INVALID LINES FROM XML " />
  <loadfile file="C:\projecten\buildserver\buildoutput\build\evbox-simian.xml" property="simian-file">
 <filterchain>
 <replacestring from="Similarity Analyser 2.4.0 - http://www.harukizaemon.com/simian" to="" ignorecase="true" />
  <replacestring from="Copyright (c) 2003-2015 Simon Harris.  All rights reserved." to="" ignorecase="true" />
  <replacestring from="Simian is not free unless used solely for non-commercial or evaluation purposes." to="" ignorecase="true" /> 
     </filterchain>
   </loadfile>
   <echo message="${string::trim(simian-file)}" file="C:\projecten\buildserver\buildoutput\build\evbox-simian-clean.xml"/>
 </target>