Skip to content

Commit e35123e

Browse files
committed
Code clean up 6
1 parent fc2f544 commit e35123e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

runner/main/jobtypes/performance/performance.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ function performance_to_summary() {
5353
# This job type defines the following env variables
5454
function performance_env() {
5555
env=(
56-
RUNCOUNT
5756
EXITCODE
5857
)
5958
echo "${env[@]}"
@@ -165,20 +164,21 @@ function performance_run() {
165164
runoutput="${SHAREDDIR}/output/logs/run.log"
166165

167166
# Ensure run log directory exists and is writable so 'tee' can create the file.
168-
mkdir -p "$(dirname "${runoutput}")"
169-
chmod -R 2777 "${SHAREDDIR}/output/logs" || true
167+
# mkdir -p "$(dirname "${runoutput}")"
168+
# chmod -R 2777 "${SHAREDDIR}/output/logs" || true
170169

171170
# Calculate the command to run. The function will return the command in the passed array.
172171
local jmeterruncmd=
173172
performance_main_command jmeterruncmd
174173

175-
echo "Running performance command: ${jmeterruncmd[*]}"
176-
echo ">>> Performance run at $(date) <<<"
174+
# echo "Running performance command: ${jmeterruncmd[*]}"
177175
local dockerrunargs=
178176
docker-jmeter_run_args dockerrunargs
179177

180-
echo "${dockerrunargs[@]}"
181-
echo docker run ${dockerrunargs[@]} ${jmeterruncmd[@]}
178+
# echo "${dockerrunargs[@]}"
179+
# echo docker run ${dockerrunargs[@]} ${jmeterruncmd[@]}
180+
181+
echo ">>> Performance run at $(date) <<<"
182182
docker run "${dockerrunargs[@]}" ${jmeterruncmd[@]} | tee "${runoutput}"
183183
EXITCODE=$?
184184

0 commit comments

Comments
 (0)