Skip to content

Commit

Permalink
update library
Browse files Browse the repository at this point in the history
Signed-off-by: Divya Madala <divyaasm@amazon.com>
  • Loading branch information
Divyaasm committed Apr 3, 2024
1 parent bdf5180 commit 246f205
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions vars/runBenchmarkTestScript.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ void call(Map args = [:]) {
editBenchmarkConfig("${WORKSPACE}/benchmark.ini")
String userTags = getMetadataTags(args.userTag.toString(), buildManifest)

sh([
def command = [
'./test.sh',
'benchmark-test',
isNullOrEmpty(args.bundleManifest) ? "" : "--bundle-manifest ${args.bundleManifest}",
Expand Down Expand Up @@ -105,7 +105,8 @@ void call(Map args = [:]) {
isNullOrEmpty(args.mlStorageSize) ? "" : "--ml-node-storage ${args.mlStorageSize}",
isNullOrEmpty(args.jvmSysProps) ? "" : "--jvm-sys-props ${args.jvmSysProps}",
isNullOrEmpty(args.telemetryParams) ? "" : "--telemetry-params '${args.telemetryParams}'"
].join(' ').trim())
].join(' ').trim()
sh """set +x && ${command}"""
}

void editBenchmarkConfig(String config_file) {
Expand Down

0 comments on commit 246f205

Please sign in to comment.