Stabilize Jenkins pipeline: remove brittle pylint plugins and skip-checks
This commit is contained in:
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
@@ -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
|
||||
'''
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user