Corrected bug in filename in TestSuite.py
authorSandrine Avakian <sandrine.avakian@inria.fr>
Tue, 9 Oct 2012 08:50:55 +0000 (10:50 +0200)
committerSandrine Avakian <sandrine.avakian@inria.fr>
Tue, 9 Oct 2012 08:50:55 +0000 (10:50 +0200)
Added configuration details in jenkins-config.

sfa/senslab/config/jenkins-config.txt
sfa/senslab/tests/TestSuite.py

index 693bb8c..1d4f591 100644 (file)
@@ -1,7 +1,22 @@
+Source code management:
+Git
+
+git repository url :
+git://138.96.116.40/sfa.git
+git://git.f-lab.fr/sfa.git
+
+
+Branches to build:
+senslab2
+
+Add a step to build:
+Excecute a shell script
+_________________________________________________________________________________________
 make clean
 make
 sudo python setup.py install
 git_local_repo="/root/.jenkins/jobs/SFA/workspace"
+#jenkins clones the git repo here when started by root
 vm="senslab2"
 sudo cp $git_local_repo/sfa/senslab/config/$vm/sfa_config.xml /etc/sfa/sfa_config.xml
 sudo cp $git_local_repo/sfa/senslab/config/$vm/default_config.xml /etc/sfa/default_config.xml
@@ -13,3 +28,19 @@ sudo service sfa restart
 nosetests --with-xcoverage --with-xunit --traverse-namespace  --cover-package=senslab --cover-erase --verbose 
 
 pylint -f parseable /root/.jenkins/jobs/SFA/workspace/sfa/senslab/ | tee pylint.out
+____________________________________________________________________________________________
+
+
+Add a step to build :
+Publish tests report results JUnit
+nosestests.xml
+
+Add a step to build :
+Publish cobertura covergae report
+**/coverage.xml
+Consider only stable builds
+
+Add a step to build : 
+Report violations
+pylint :
+XML filename pattern  : **/pylint.out
\ No newline at end of file
index f134dfe..73e2c71 100644 (file)
@@ -270,7 +270,7 @@ def  TestSfi(arg = None):
     
     print "================= SFI.PY RESOURCES -R SLAB -L ALL ============="
     slaball = os.system("sfi.py resources -r slab -l all")
-    filename = "home/savakian/flab-sfa/avakian_adv.rspec"
+    filename = "/home/savakian/flab-sfa/avakian_adv.rspec"
     rspecfile = open(filename,"w")
     r = os.popen("sfi.py resources -l all") 
     for i in r.readlines():