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 1, 2024
1 parent e2448f0 commit 4bbdac2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/jenkins/ComponentBuildStatus.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ class ComponentBuildStatus {

def getComponents(String componentBuildResult) {
def jsonResponse = new OpenSearchMetricsQuery(metricsUrl,awsAccessKey, awsSecretKey, awsSessionToken, indexName, script).fetchMetrics(getQuery(componentBuildResult))
println('The metrics response is:')
println(jsonResponse)
echo('The metrics response is:')
echo(jsonResponse)
def components = jsonResponse.hits.hits.collect { it._source.component }
return components
}
Expand Down

0 comments on commit 4bbdac2

Please sign in to comment.