Skip to content

Commit

Permalink
ensure project version in executor info is a string (fixes #85, via #86)
Browse files Browse the repository at this point in the history
  • Loading branch information
Malte Finsterwalder authored Jun 10, 2022
1 parent ea4bc43 commit bf4c99e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,8 @@ open class AllureAdapterExtension @Inject constructor(
"taskName" to taskName,
"buildName" to project.name,
"projectPath" to project.path,
"projectVersion" to project.version
// toString is to avoid unexpected interaction of custom objects and Json serializer
"projectVersion" to project.version.toString()
)
val resultsPath = Paths.get(resultsDir.absoluteFile.path)
Files.createDirectories(resultsPath)
Expand Down

0 comments on commit bf4c99e

Please sign in to comment.