diff --git a/etc/jenkins.sh b/etc/jenkins.sh
index 2b11e101..c16185cc 100755
--- a/etc/jenkins.sh
+++ b/etc/jenkins.sh
@@ -24,8 +24,11 @@ workon qsim
# Show what we have installed
pip freeze
+#documentation output
+paver apidocs html
+
#run all the tests in test
-nosetests --with-xunit --cover-erase --cover-package=qsim
+nosetests --with-xunit --cover-erase --cover-package=qsim --cover-html-dir=./docs/_build/html/cover
#run pylint checks
pylint -f parseable . | tee pylint.out
@@ -33,10 +36,4 @@ pylint -f parseable . | tee pylint.out
#run sloccount analysis
sloccount --wide --details ./ > sloccount.sc
-#documentation output
-paver apidocs html
-
-#move coverage into apidocs
-mv ./cover ./docs/_build/html
-
deactivate
diff --git a/nosetests.xml b/nosetests.xml
index 7d46334e..0aab3d22 100644
--- a/nosetests.xml
+++ b/nosetests.xml
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file