Skip to content

Commit

Permalink
[develop] fix CI scripts to save logfile names that Jenkinsfile needs…
Browse files Browse the repository at this point in the history
… for pwcloud platform builds (ufs-community#1087)

Make sure the log file names match what Jenkinsfile needs, specifically for PW cloud platforms - Azure, AWS, GCP
  • Loading branch information
BruceKropp-Raytheon committed May 31, 2024
1 parent 28cbbc8 commit 51f4981
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .cicd/scripts/srw_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ cd -
# Create combined log file for upload to s3
build_dir="${workspace}/build_${SRW_COMPILER}"
cat ${build_dir}/log.cmake ${build_dir}/log.make \
>${build_dir}/srw_build-${platform}-${SRW_COMPILER}.txt
>${build_dir}/srw_build-${SRW_PLATFORM}-${SRW_COMPILER}.txt

exit $build_exit
2 changes: 1 addition & 1 deletion .cicd/scripts/srw_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ fi

cd ${we2e_test_dir}
# Progress file
progress_file="${workspace}/we2e_test_results-${platform}-${SRW_COMPILER}.txt"
progress_file="${workspace}/we2e_test_results-${SRW_PLATFORM}-${SRW_COMPILER}.txt"
/usr/bin/time -p -f '{\n "cpu": "%P"\n, "memMax": "%M"\n, "mem": {"text": "%X", "data": "%D", "swaps": "%W", "context": "%c", "waits": "%w"}\n, "pagefaults": {"major": "%F", "minor": "%R"}\n, "filesystem": {"inputs": "%I", "outputs": "%O"}\n, "time": {"real": "%e", "user": "%U", "sys": "%S"}\n}' -o ${WORKSPACE}/${SRW_PLATFORM}-${SRW_COMPILER}-time-srw_test.json \
./setup_WE2E_tests.sh ${platform} ${SRW_PROJECT} ${SRW_COMPILER} ${test_type} \
--expt_basedir=${we2e_experiment_base_dir} | tee ${progress_file}; \
Expand Down

0 comments on commit 51f4981

Please sign in to comment.