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 4, 2024
1 parent 246f205 commit 6192112
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 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)

def command = [
sh([
'./test.sh',
'benchmark-test',
isNullOrEmpty(args.bundleManifest) ? "" : "--bundle-manifest ${args.bundleManifest}",
Expand Down Expand Up @@ -105,8 +105,7 @@ 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()
sh """set +x && ${command}"""
].join(' ').trim())
}

void editBenchmarkConfig(String config_file) {
Expand Down

0 comments on commit 6192112

Please sign in to comment.