Skip to content

Commit

Permalink
Add hidden parameter
Browse files Browse the repository at this point in the history
Signed-off-by: Divya Madala <[email protected]>
  • Loading branch information
Divyaasm committed Apr 1, 2024
1 parent 9d6752c commit 211d94a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
11 changes: 6 additions & 5 deletions jenkins/opensearch/benchmark-test-endpoint.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@ pipeline {
JOB_NAME = 'benchmark-test'
}
parameters {
hidden(
string(
name: 'CLUSTER_ENDPOINT',
description: 'Provide an endpoint to a cluster for running benchmark tests against it.',
trim: true
)
booleanParam(
name: 'SECURITY_ENABLED',
Expand Down Expand Up @@ -119,10 +120,10 @@ parameters {
telemetryParams: TELEMETRY_PARAMS
)
}
post {
always {
postCleanup()
}
}
post {
always {
postCleanup()
}
}
}
Expand Down
1 change: 1 addition & 0 deletions test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ case $1 in
;;
"benchmark-test")
echo "the parameters passed are ${@:2}"
set -x
"$DIR/run.sh" "$DIR/src/run_benchmark_test.py" "${@:2}"
;;
*)
Expand Down

0 comments on commit 211d94a

Please sign in to comment.