Skip to content

Commit

Permalink
Change settings
Browse files Browse the repository at this point in the history
  • Loading branch information
YakDriver committed Sep 14, 2023
1 parent 4b776b7 commit 6eb4bf0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .teamcity/scripts/performance.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ function analysis {
inuse=$( bc -l <<< "((${perf_main_meminuse1}/${perf_latest_meminuse1})-1) + ((${perf_main_meminuse2}/${perf_latest_meminuse2})-1)/2" )
cputime=$( bc -l <<< "((${perf_main_cputime1}/${perf_latest_cputime1})-1) + ((${perf_main_cputime2}/${perf_latest_cputime2})-1)/2" )

printf "Alloc:%%.4f%%%%" "${alloc}"
printf ";Inuse:%%.4f%%%%" "${inuse}"
printf ";CPUtime:%%.4f%%%%\n" "${cputime}"
printf "##teamcity[notification notifier='slack' message='Change in allocated memory %%.4f%%%%|Change in in-use memory %%.4f%%%%|Change in CPU time %%.4f%%%%' sendTo='CN0G9S7M4' connectionId='PROJECT_EXT_8']\n" "${alloc}" "${inuse}" "${cputime}"
#printf "##teamcity[meminuse '%%.4f%%%%']\n"
#printf "##teamcity[cputime '%%.4f%%%%']\n"
}

if [ -f "memvpcmain.prof" -a -f "memssmmain.prof" -a -f "memvpclatest.prof" -a -f "memssmlatest.prof" ]; then
Expand Down
1 change: 0 additions & 1 deletion .teamcity/settings.kts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,6 @@ object FullBuild : BuildType({
addBranch = branchRef != "refs/heads/main"
addStatusText = true
}
message = "This will not work!"
}
buildStarted = true
buildFailedToStart = true
Expand Down

0 comments on commit 6eb4bf0

Please sign in to comment.