Run Django CI commands with --skip-checks
This commit is contained in:
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@@ -54,9 +54,9 @@ pipeline {
|
|||||||
cp "${JOB_BASE_NAME}/ocyan.json" "${JOB_BASE_NAME}/${JOB_BASE_NAME}.json"
|
cp "${JOB_BASE_NAME}/ocyan.json" "${JOB_BASE_NAME}/${JOB_BASE_NAME}.json"
|
||||||
pip install pylint pylint-django vdt.versionplugin.wheel
|
pip install pylint pylint-django vdt.versionplugin.wheel
|
||||||
pip install --upgrade "setuptools==69.5.1" wheel
|
pip install --upgrade "setuptools==69.5.1" wheel
|
||||||
manage.py migrate --no-input
|
manage.py migrate --no-input --skip-checks
|
||||||
manage.py loaddemodata || true
|
manage.py loaddemodata --skip-checks || true
|
||||||
manage.py collectstatic --no-input --verbosity=0
|
manage.py collectstatic --no-input --verbosity=0 --skip-checks
|
||||||
pip install "httpx<0.28"
|
pip install "httpx<0.28"
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
@@ -76,7 +76,7 @@ pipeline {
|
|||||||
sh '''
|
sh '''
|
||||||
. .venv/bin/activate
|
. .venv/bin/activate
|
||||||
pip install coverage
|
pip install coverage
|
||||||
coverage run --source='mandelstudio' `which manage.py` test
|
coverage run --source='mandelstudio' `which manage.py` test --skip-checks
|
||||||
coverage report
|
coverage report
|
||||||
coverage xml
|
coverage xml
|
||||||
coverage html
|
coverage html
|
||||||
|
|||||||
Reference in New Issue
Block a user