jenkins: fix wip builds (#57662)

This commit is contained in:
Paul Marillonnet 2021-10-06 17:57:04 +02:00
parent 2933d0aee6
commit 97d80f5cc4
2 changed files with 5 additions and 3 deletions

4
Jenkinsfile vendored
View File

@ -4,12 +4,12 @@ pipeline {
agent any
options { disableConcurrentBuilds() }
environment {
TMPDIR = "/tmp/$BUILD_TAG"
TMPDIR = "/tmp/${JOB_NAME.take(32).replaceAll('\\s','')}-${BUILD_NUMBER}"
}
stages {
stage('Unit Tests') {
steps {
sh "mkdir ${env.TMPDIR}"
sh "mkdir -p ${env.TMPDIR}"
sh """
virtualenv -p python3 ${env.TMPDIR}/venv/
${env.TMPDIR}/venv/bin/pip install tox "virtualenv<=20.0.5" "importlib-resources<=1.0.2"

View File

@ -61,8 +61,10 @@ deps =
Django<2.3
pylint
pylint-django
psycopg2-binary
commands =
/bin/bash -c "./pylint.sh src/*/"
./getlasso3.sh
./pylint.sh src/*/
[pytest]
junit_family=xunit2