Stabilize Jenkins pipeline: remove brittle pylint plugins and skip-checks

This commit is contained in:
2026-03-15 12:45:51 +01:00
parent 96b9a22949
commit cb3eb2ea00
2 changed files with 6 additions and 7 deletions

12
Jenkinsfile vendored
View File

@@ -1,7 +1,7 @@
#!/usr/bin/env groovy
pipeline {
agent { label 'external-agent-1 || external-agent-2' }
agent any
options {
disableConcurrentBuilds()
skipDefaultCheckout(true)
@@ -54,9 +54,9 @@ pipeline {
cp "${JOB_BASE_NAME}/ocyan.json" "${JOB_BASE_NAME}/${JOB_BASE_NAME}.json"
pip install ruff vdt.versionplugin.wheel
pip install --upgrade "setuptools==69.5.1" wheel
manage.py migrate --no-input --skip-checks
manage.py loaddemodata --skip-checks || true
manage.py collectstatic --no-input --verbosity=0 --skip-checks
manage.py migrate --no-input
manage.py loaddemodata || true
manage.py collectstatic --no-input --verbosity=0
pip install "httpx<0.28"
'''
}
@@ -65,9 +65,7 @@ pipeline {
steps {
sh '''
. .venv/bin/activate
pip install coverage
pip install ruff
cat mandelstudio/ocyan.json | python3 -m json.tool 1>/dev/null
pip install coverage ruff
make lint
'''
}

View File

@@ -1,5 +1,6 @@
[MASTER]
jobs = 1
django-settings-module = mandelstudio.settings.base
score = n
ignore = migrations