From 7f84cfe07e53bfa0c730a2f4e1b15bd9b8bf9a2e Mon Sep 17 00:00:00 2001 From: Valentin Date: Wed, 18 Dec 2024 18:55:33 +0100 Subject: [PATCH] fix: paths for sqa reports --- .sqa/config.yml | 6 +++--- Jenkinsfile | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.sqa/config.yml b/.sqa/config.yml index 2fe0eb7f..0bb53f0f 100644 --- a/.sqa/config.yml +++ b/.sqa/config.yml @@ -5,14 +5,14 @@ sqa_criteria: ai4life: container: testing commands: - - flake8 --statistics --tee --output-file=/srv/app/flake8.log --format=pylint ai4life api tests + - flake8 --statistics --tee --output-file=./flake8.log --format=pylint ai4life api tests qc_coverage: repos: ai4life: container: testing commands: - - pytest --cov=api --cov=ai4life --cov-report=html:/srv/app/htmlcov --cov-report=term-missing tests + - pytest --cov=api --cov=ai4life --cov-report=html:./htmlcov --cov-report=term-missing tests qc_security: repos: @@ -20,7 +20,7 @@ sqa_criteria: container: testing commands: - mkdir -p /srv/app/bandit - - bandit -r ai4life api -x tests -o /srv/app/bandit/index.html + - bandit -r ai4life api -x tests -o ./bandit/index.html environment: GIT_COMMITTER_NAME: "Fahimeh Alibabaei " diff --git a/Jenkinsfile b/Jenkinsfile index cff75d9c..1319a16a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -27,7 +27,6 @@ pipeline { always { script { if (fileExists("flake8.log")) { - // file locations are defined in tox.ini // publish results of the style analysis recordIssues(tools: [flake8(pattern: 'flake8.log', name: 'PEP8 report',