Révision fbdf46df
Ajouté par Jérôme Schneider il y a plus de 10 ans
jenkins/jenkins.sh | ||
---|---|---|
1 |
#!/bin/sh |
|
2 |
|
|
3 |
pip install --upgrade pip pylint django-jux |
|
4 |
pip install --upgrade -r requirements.txt |
|
5 |
cp jenkins/local_settings.py.example local_settings.py |
|
6 |
./manage.py syncdb --all --noinput |
|
7 |
./manage.py migrate --fake |
|
8 |
./manage.py validate |
|
9 |
./manage.py test agenda dossiers actes facturation personnes ressources |
|
10 |
(pylint -f parseable --rcfile /var/lib/jenkins/pylint.django.rc calebasse/ | tee pylint.out) || /bin/true |
jenkins/local_settings.py.example | ||
---|---|---|
1 |
import os |
|
2 |
|
|
3 |
PROJECT_PATH = os.path.dirname(os.path.dirname(__file__)) |
|
4 |
|
|
5 |
# Tell Django to use the JUXD Test Suite Runner |
|
6 |
TEST_RUNNER = 'juxd.JUXDTestSuiteRunner' |
|
7 |
# Where to write the output |
|
8 |
JUXD_FILENAME = os.path.join(PROJECT_PATH, 'junit.xml') |
Formats disponibles : Unified diff
add jenkins configuration for calebasse