Basic build-related scripts added.
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
*.pyc
|
||||||
1
jenkins/fabfile.py
vendored
1
jenkins/fabfile.py
vendored
@@ -7,6 +7,7 @@ env.user = 'root'
|
|||||||
def deploy_clean_jenkins():
|
def deploy_clean_jenkins():
|
||||||
run('wget http://mirrors.jenkins-ci.org/war/latest/jenkins.war')
|
run('wget http://mirrors.jenkins-ci.org/war/latest/jenkins.war')
|
||||||
run('cp jenkins.war /var/lib/tomcat7/webapps')
|
run('cp jenkins.war /var/lib/tomcat7/webapps')
|
||||||
|
run('chmod -R 0777 /usr/share/tomcat7')
|
||||||
|
|
||||||
def deploy_scripts():
|
def deploy_scripts():
|
||||||
return
|
return
|
||||||
|
|||||||
1
jenkins/jslint-files-to-exclude.txt
Normal file
1
jenkins/jslint-files-to-exclude.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
**/jasmine*.js,**/jquery*.js,**/angular*.js,**/bootstrap*.js,**/build/**/*.js,**/libs/**/*.js,**/publish/public/js/*.js,**/site/js/plugins.js
|
||||||
1
jenkins/pyflakes.sh
Normal file
1
jenkins/pyflakes.sh
Normal file
@@ -0,0 +1 @@
|
|||||||
|
find . -name '*.py'|egrep -v '^./tests/|^./build/'|xargs pyflakes > pyflakes.log || :
|
||||||
4
jenkins/pylint.sh
Normal file
4
jenkins/pylint.sh
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
rm -f pylint.log
|
||||||
|
for f in `find . -name '*.py'|egrep -v '^./tests/|^./build/'`; do
|
||||||
|
pylint --output-format=parseable --disable=W0311,W0403,W0232,E1101 --generated-members=objects,content,status_code --reports=y $f >> pylint.log
|
||||||
|
done || :
|
||||||
1
jenkins/sloccount.sh
Normal file
1
jenkins/sloccount.sh
Normal file
@@ -0,0 +1 @@
|
|||||||
|
sloccount --duplicates --wide --details . | fgrep -v build > sloccount.sc || :
|
||||||
Reference in New Issue
Block a user