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 5c2ff54 commit e2b6b09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vars/updateIntegTestFailureIssues.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import jenkins.ComponentBuildStatus
import jenkins.ComponentIntegTestStatus
import jenkins.CreateIntegTestMarkDownTable
import groovy.json.JsonOutput
import groovy.json.JsonSlurper
import groovy.json.JsonSlurperClassic

void call(Map args = [:]) {
def inputManifest = readYaml(file: args.inputManifestPath)
Expand Down Expand Up @@ -52,7 +52,7 @@ void call(Map args = [:]) {
def queryData = componentIntegTestStatus.getComponentIntegTestFailedData(component.name)
def queryDataJson = JsonOutput.toJson(queryData)
println("Query Data: ${queryData.getClass().getName()}")
def queryDataMap = new JsonSlurper().parseText(queryDataJson)
def queryDataMap = new JsonSlurperClassic().parseText(queryDataJson)
println("queryDataMap Data: ${queryDataMap.getClass().getName()}")
def totalHits = queryDataMap.hits.hits.collect {it._source}
println("totalHits Data: ${totalHits.getClass().getName()}")
Expand Down

0 comments on commit e2b6b09

Please sign in to comment.