Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Sayali Gaikawad <[email protected]>
  • Loading branch information
gaiksaya committed Oct 7, 2024
1 parent 4ad0df7 commit 679bbe2
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions vars/updateIntegTestFailureIssues.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import jenkins.CreateIntegTestMarkDownTable

void call(Map args = [:]) {
def inputManifest = readYaml(file: args.inputManifestPath)
def version = inputManifest.build.version.toString()
def version = inputManifest.build.version
def product = inputManifest.build.name

List<String> failedComponents = []
Expand Down Expand Up @@ -51,19 +51,19 @@ void call(Map args = [:]) {
def totalHits = queryData.hits.hits.collect {it._source}
totalHits.each { hit ->
def rowData = [
platform : hit.platform.toString(),
distribution: hit.distribution.toString(),
architecture: hit.architecture.toString(),
test_report_manifest_yml: hit.test_report_manifest_yml.toString(),
integ_test_build_url: hit.integ_test_build_url.toString()
platform : hit.platform,
distribution: hit.distribution,
architecture: hit.architecture,
test_report_manifest_yml: hit.test_report_manifest_yml,
integ_test_build_url: hit.integ_test_build_url
]
testData << rowData
}
println("Class of testData: ${testData}")
println("Class of testData: ${testData.getClass().getName()}")
def markdownContent = new CreateIntegTestMarkDownTable(version, testData).create()
println(markdownContent)
println("Class of markdownContent: ${markdownContent.getClass().getName()}")
writeFile file: "failedTestDetails.md", text: markdownContent
// writeFile file: "failedTestDetails.md", text: markdownContent
println('Wrote file')
println('Component Name: '+ component.name)
println('Version is '+ version)
Expand Down

0 comments on commit 679bbe2

Please sign in to comment.