Skip to content

Commit

Permalink
add results for maven task
Browse files Browse the repository at this point in the history
  • Loading branch information
reschandreas committed Jan 15, 2024
1 parent 9b66583 commit 28a2410
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion api/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tool.mypy]
python_version = "3.11"
python_version = "3.12"
check_untyped_defs = true
disallow_untyped_defs = true
mypy_path = "../cli"
Expand Down
10 changes: 9 additions & 1 deletion cli/classes/translator.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,15 @@ def extract_action(job: BambooJob, task: BambooTask, environment: EnvironmentSch
docker=docker,
parameters=params,
environment=envs,
results=None,
results=[
Result(
name="junit",
path="**/target/surefire-reports/*.xml",
ignore=None,
type="junit",
before=False,
)
],
platform=None,
runAlways=task.always_execute,
)
Expand Down
4 changes: 2 additions & 2 deletions cli/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tool.mypy]
python_version = "3.11"
python_version = "3.12"
check_untyped_defs = true
disallow_untyped_defs = true

Expand All @@ -26,4 +26,4 @@ ignore = ['venv', 'generated', 'examples', 'docs']
[tool.pylint.'MESSAGES CONTROL']
max-line-length = 120
min-similarity-lines=10
disable = "missing-module-docstring,missing-class-docstring,missing-function-docstring,too-few-public-methods"
disable = "missing-module-docstring,missing-class-docstring,missing-function-docstring,too-few-public-methods"

0 comments on commit 28a2410

Please sign in to comment.