Skip to content

Commit

Permalink
Read file contents
Browse files Browse the repository at this point in the history
Signed-off-by: Divya Madala <divyaasm@amazon.com>
  • Loading branch information
Divyaasm committed Jun 27, 2024
1 parent cbc36e6 commit bd18f23
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jenkins/opensearch/benchmark-test-endpoint.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,8 @@ parameters {
always {
unstash "benchmark"
script {
def fileContent = readFile('test_execution_${BUILD_NUMBER}.json')
def fileName = "test_execution_${BUILD_NUMBER}.json"
def fileContent = readFile(fileName)
echo "${fileContent}"
}
archiveArtifacts artifacts: 'test_execution*.*'
Expand Down

0 comments on commit bd18f23

Please sign in to comment.